Struct gio::FileQueryInfoFlags
source · [−]pub struct FileQueryInfoFlags { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Binary for FileQueryInfoFlags
impl Binary for FileQueryInfoFlags
sourceimpl BitAnd<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitAnd<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitand(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitand(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the intersection between the two sets of flags.
type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
& operator.sourceimpl BitAndAssign<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitAndAssign<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitand_assign(&mut self, other: FileQueryInfoFlags)
fn bitand_assign(&mut self, other: FileQueryInfoFlags)
Disables all flags disabled in the set.
sourceimpl BitOr<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitOr<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the union of the two sets of flags.
type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
| operator.sourceimpl BitOrAssign<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitOrAssign<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitor_assign(&mut self, other: FileQueryInfoFlags)
fn bitor_assign(&mut self, other: FileQueryInfoFlags)
Adds the set of flags.
sourceimpl BitXor<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitXor<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitxor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn bitxor(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the left flags, but with all the right flags toggled.
type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
^ operator.sourceimpl BitXorAssign<FileQueryInfoFlags> for FileQueryInfoFlags
impl BitXorAssign<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn bitxor_assign(&mut self, other: FileQueryInfoFlags)
fn bitxor_assign(&mut self, other: FileQueryInfoFlags)
Toggles the set of flags.
sourceimpl Clone for FileQueryInfoFlags
impl Clone for FileQueryInfoFlags
sourcefn clone(&self) -> FileQueryInfoFlags
fn clone(&self) -> FileQueryInfoFlags
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for FileQueryInfoFlags
impl Debug for FileQueryInfoFlags
sourceimpl Extend<FileQueryInfoFlags> for FileQueryInfoFlags
impl Extend<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn extend<T: IntoIterator<Item = FileQueryInfoFlags>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = FileQueryInfoFlags>>(&mut self, iterator: T)
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one)sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one)sourceimpl FromIterator<FileQueryInfoFlags> for FileQueryInfoFlags
impl FromIterator<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn from_iter<T: IntoIterator<Item = FileQueryInfoFlags>>(
iterator: T
) -> FileQueryInfoFlags
fn from_iter<T: IntoIterator<Item = FileQueryInfoFlags>>(
iterator: T
) -> FileQueryInfoFlags
sourceimpl<'a> FromValue<'a> for FileQueryInfoFlags
impl<'a> FromValue<'a> for FileQueryInfoFlags
unsafe fn from_value(value: &Value) -> Self
sourceimpl<'a> FromValueOptional<'a> for FileQueryInfoFlags
impl<'a> FromValueOptional<'a> for FileQueryInfoFlags
unsafe fn from_value_optional(value: &Value) -> Option<Self>
sourceimpl Hash for FileQueryInfoFlags
impl Hash for FileQueryInfoFlags
sourceimpl LowerHex for FileQueryInfoFlags
impl LowerHex for FileQueryInfoFlags
sourceimpl Not for FileQueryInfoFlags
impl Not for FileQueryInfoFlags
sourcefn not(self) -> FileQueryInfoFlags
fn not(self) -> FileQueryInfoFlags
Returns the complement of this set of flags.
type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
! operator.sourceimpl Octal for FileQueryInfoFlags
impl Octal for FileQueryInfoFlags
sourceimpl Ord for FileQueryInfoFlags
impl Ord for FileQueryInfoFlags
sourcefn cmp(&self, other: &FileQueryInfoFlags) -> Ordering
fn cmp(&self, other: &FileQueryInfoFlags) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<FileQueryInfoFlags> for FileQueryInfoFlags
impl PartialEq<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn eq(&self, other: &FileQueryInfoFlags) -> bool
fn eq(&self, other: &FileQueryInfoFlags) -> bool
sourceimpl PartialOrd<FileQueryInfoFlags> for FileQueryInfoFlags
impl PartialOrd<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn partial_cmp(&self, other: &FileQueryInfoFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &FileQueryInfoFlags) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moresourceimpl StaticType for FileQueryInfoFlags
impl StaticType for FileQueryInfoFlags
sourcefn static_type() -> Type
fn static_type() -> Type
Self.sourceimpl Sub<FileQueryInfoFlags> for FileQueryInfoFlags
impl Sub<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn sub(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
fn sub(self, other: FileQueryInfoFlags) -> FileQueryInfoFlags
Returns the set difference of the two sets of flags.
type Output = FileQueryInfoFlags
type Output = FileQueryInfoFlags
- operator.sourceimpl SubAssign<FileQueryInfoFlags> for FileQueryInfoFlags
impl SubAssign<FileQueryInfoFlags> for FileQueryInfoFlags
sourcefn sub_assign(&mut self, other: FileQueryInfoFlags)
fn sub_assign(&mut self, other: FileQueryInfoFlags)
Disables all flags enabled in the set.
sourceimpl UpperHex for FileQueryInfoFlags
impl UpperHex for FileQueryInfoFlags
impl Copy for FileQueryInfoFlags
impl Eq for FileQueryInfoFlags
impl StructuralEq for FileQueryInfoFlags
impl StructuralPartialEq for FileQueryInfoFlags
Auto Trait Implementations
impl RefUnwindSafe for FileQueryInfoFlags
impl Send for FileQueryInfoFlags
impl Sync for FileQueryInfoFlags
impl Unpin for FileQueryInfoFlags
impl UnwindSafe for FileQueryInfoFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue clone of self.