#[repr(u32)]pub enum VfsStatFlag {
Valid = 1,
Directory = 2,
CharacterSpecial = 4,
}Variants§
Trait Implementations§
Source§impl BitAnd for VfsStatFlag
impl BitAnd for VfsStatFlag
Source§impl BitFlag for VfsStatFlag
impl BitFlag for VfsStatFlag
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for VfsStatFlag
impl BitOr for VfsStatFlag
Source§impl BitXor for VfsStatFlag
impl BitXor for VfsStatFlag
Source§impl Clone for VfsStatFlag
impl Clone for VfsStatFlag
Source§fn clone(&self) -> VfsStatFlag
fn clone(&self) -> VfsStatFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VfsStatFlag
impl Debug for VfsStatFlag
Source§impl Not for VfsStatFlag
impl Not for VfsStatFlag
Source§impl PartialEq for VfsStatFlag
impl PartialEq for VfsStatFlag
Source§fn eq(&self, other: &VfsStatFlag) -> bool
fn eq(&self, other: &VfsStatFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RawBitFlags for VfsStatFlag
impl RawBitFlags for VfsStatFlag
impl Copy for VfsStatFlag
impl Eq for VfsStatFlag
impl StructuralPartialEq for VfsStatFlag
Auto Trait Implementations§
impl Freeze for VfsStatFlag
impl RefUnwindSafe for VfsStatFlag
impl Send for VfsStatFlag
impl Sync for VfsStatFlag
impl Unpin for VfsStatFlag
impl UnsafeUnpin for VfsStatFlag
impl UnwindSafe for VfsStatFlag
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
Mutably borrows from an owned value. Read more