#[repr(u32)]pub enum VfsFileAccess {
Read = 1,
Write = 2,
UpdateExisting = 4,
}Variants§
Trait Implementations§
Source§impl BitAnd for VfsFileAccess
impl BitAnd for VfsFileAccess
Source§impl BitFlag for VfsFileAccess
impl BitFlag for VfsFileAccess
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 VfsFileAccess
impl BitOr for VfsFileAccess
Source§impl BitXor for VfsFileAccess
impl BitXor for VfsFileAccess
Source§impl Clone for VfsFileAccess
impl Clone for VfsFileAccess
Source§fn clone(&self) -> VfsFileAccess
fn clone(&self) -> VfsFileAccess
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 VfsFileAccess
impl Debug for VfsFileAccess
Source§impl Not for VfsFileAccess
impl Not for VfsFileAccess
Source§impl PartialEq for VfsFileAccess
impl PartialEq for VfsFileAccess
Source§fn eq(&self, other: &VfsFileAccess) -> bool
fn eq(&self, other: &VfsFileAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RawBitFlags for VfsFileAccess
impl RawBitFlags for VfsFileAccess
impl Copy for VfsFileAccess
impl Eq for VfsFileAccess
impl StructuralPartialEq for VfsFileAccess
Auto Trait Implementations§
impl Freeze for VfsFileAccess
impl RefUnwindSafe for VfsFileAccess
impl Send for VfsFileAccess
impl Sync for VfsFileAccess
impl Unpin for VfsFileAccess
impl UnsafeUnpin for VfsFileAccess
impl UnwindSafe for VfsFileAccess
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