pub struct FileQueryInfoFlags { /* private fields */ }
Implementations§
Source§impl FileQueryInfoFlags
impl FileQueryInfoFlags
pub const NONE: FileQueryInfoFlags
pub const NOFOLLOW_SYMLINKS: FileQueryInfoFlags
Sourcepub const fn empty() -> FileQueryInfoFlags
pub const fn empty() -> FileQueryInfoFlags
Returns an empty set of flags
Sourcepub const fn all() -> FileQueryInfoFlags
pub const fn all() -> FileQueryInfoFlags
Returns the set containing all flags.
Sourcepub fn from_bits(bits: u32) -> Option<FileQueryInfoFlags>
pub fn from_bits(bits: u32) -> Option<FileQueryInfoFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub const fn from_bits_truncate(bits: u32) -> FileQueryInfoFlags
pub const fn from_bits_truncate(bits: u32) -> FileQueryInfoFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> FileQueryInfoFlags
pub const unsafe fn from_bits_unchecked(bits: u32) -> FileQueryInfoFlags
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
Sourcepub const fn intersects(&self, other: FileQueryInfoFlags) -> bool
pub const fn intersects(&self, other: FileQueryInfoFlags) -> bool
Returns true
if there are flags common to both self
and other
.
Sourcepub const fn contains(&self, other: FileQueryInfoFlags) -> bool
pub const fn contains(&self, other: FileQueryInfoFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
Sourcepub fn insert(&mut self, other: FileQueryInfoFlags)
pub fn insert(&mut self, other: FileQueryInfoFlags)
Inserts the specified flags in-place.
Sourcepub fn remove(&mut self, other: FileQueryInfoFlags)
pub fn remove(&mut self, other: FileQueryInfoFlags)
Removes the specified flags in-place.
Sourcepub fn toggle(&mut self, other: FileQueryInfoFlags)
pub fn toggle(&mut self, other: FileQueryInfoFlags)
Toggles the specified flags in-place.
Sourcepub fn set(&mut self, other: FileQueryInfoFlags, value: bool)
pub fn set(&mut self, other: FileQueryInfoFlags, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations§
Source§impl Binary for FileQueryInfoFlags
impl Binary for FileQueryInfoFlags
Source§impl BitAnd for FileQueryInfoFlags
impl BitAnd for FileQueryInfoFlags
Source§fn bitand(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitand(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the intersection between the two sets of flags.
Source§type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
&
operator.Source§impl BitAndAssign for FileQueryInfoFlags
impl BitAndAssign for FileQueryInfoFlags
Source§fn bitand_assign(&mut self, other: FileQueryInfoFlags)
fn bitand_assign(&mut self, other: FileQueryInfoFlags)
Disables all flags disabled in the set.
Source§impl BitOr for FileQueryInfoFlags
impl BitOr for FileQueryInfoFlags
Source§fn bitor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the union of the two sets of flags.
Source§type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
|
operator.Source§impl BitOrAssign for FileQueryInfoFlags
impl BitOrAssign for FileQueryInfoFlags
Source§fn bitor_assign(&mut self, other: FileQueryInfoFlags)
fn bitor_assign(&mut self, other: FileQueryInfoFlags)
Adds the set of flags.
Source§impl BitXor for FileQueryInfoFlags
impl BitXor for FileQueryInfoFlags
Source§fn bitxor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitxor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the left flags, but with all the right flags toggled.
Source§type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
^
operator.Source§impl BitXorAssign for FileQueryInfoFlags
impl BitXorAssign for FileQueryInfoFlags
Source§fn bitxor_assign(&mut self, other: FileQueryInfoFlags)
fn bitxor_assign(&mut self, other: FileQueryInfoFlags)
Toggles the set of flags.
Source§impl Clone for FileQueryInfoFlags
impl Clone for FileQueryInfoFlags
Source§fn clone(&self) -> FileQueryInfoFlags
fn clone(&self) -> FileQueryInfoFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FileQueryInfoFlags
impl Debug for FileQueryInfoFlags
Source§impl Extend<FileQueryInfoFlags> for FileQueryInfoFlags
impl Extend<FileQueryInfoFlags> for FileQueryInfoFlags
Source§fn extend<T: IntoIterator<Item = FileQueryInfoFlags>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = FileQueryInfoFlags>>(&mut self, iterator: T)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl FromIterator<FileQueryInfoFlags> for FileQueryInfoFlags
impl FromIterator<FileQueryInfoFlags> for FileQueryInfoFlags
Source§fn from_iter<T: IntoIterator<Item = FileQueryInfoFlags>>(
iterator: T,
) -> FileQueryInfoFlags
fn from_iter<T: IntoIterator<Item = FileQueryInfoFlags>>( iterator: T, ) -> FileQueryInfoFlags
Source§impl<'a> FromValue<'a> for FileQueryInfoFlags
impl<'a> FromValue<'a> for FileQueryInfoFlags
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for FileQueryInfoFlags
impl<'a> FromValueOptional<'a> for FileQueryInfoFlags
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for FileQueryInfoFlags
impl Hash for FileQueryInfoFlags
Source§impl LowerHex for FileQueryInfoFlags
impl LowerHex for FileQueryInfoFlags
Source§impl Not for FileQueryInfoFlags
impl Not for FileQueryInfoFlags
Source§fn not(self) -> FileQueryInfoFlags
fn not(self) -> FileQueryInfoFlags
Returns the complement of this set of flags.
Source§type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
!
operator.Source§impl Octal for FileQueryInfoFlags
impl Octal for FileQueryInfoFlags
Source§impl Ord for FileQueryInfoFlags
impl Ord for FileQueryInfoFlags
Source§fn cmp(&self, other: &FileQueryInfoFlags) -> Ordering
fn cmp(&self, other: &FileQueryInfoFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FileQueryInfoFlags
impl PartialEq for FileQueryInfoFlags
Source§impl PartialOrd for FileQueryInfoFlags
impl PartialOrd for FileQueryInfoFlags
Source§impl SetValue for FileQueryInfoFlags
impl SetValue for FileQueryInfoFlags
Source§impl StaticType for FileQueryInfoFlags
impl StaticType for FileQueryInfoFlags
Source§fn static_type() -> Type
fn static_type() -> Type
Self
.Source§impl Sub for FileQueryInfoFlags
impl Sub for FileQueryInfoFlags
Source§fn sub(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn sub(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the set difference of the two sets of flags.
Source§type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
-
operator.Source§impl SubAssign for FileQueryInfoFlags
impl SubAssign for FileQueryInfoFlags
Source§fn sub_assign(&mut self, other: FileQueryInfoFlags)
fn sub_assign(&mut self, other: FileQueryInfoFlags)
Disables all flags enabled in the set.
Source§impl UpperHex for FileQueryInfoFlags
impl UpperHex for FileQueryInfoFlags
impl Copy for FileQueryInfoFlags
impl Eq for FileQueryInfoFlags
impl StructuralPartialEq for FileQueryInfoFlags
Auto Trait Implementations§
impl Freeze for FileQueryInfoFlags
impl RefUnwindSafe for FileQueryInfoFlags
impl Send for FileQueryInfoFlags
impl Sync for FileQueryInfoFlags
impl Unpin for FileQueryInfoFlags
impl UnwindSafe for FileQueryInfoFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.