pub struct DirType(/* private fields */);Implementations§
Source§impl DirType
impl DirType
pub const DT_UNKNOWN: Self
pub const DT_FIFO: Self
pub const DT_CHR: Self
pub const DT_DIR: Self
pub const DT_BLK: Self
pub const DT_REG: Self
pub const DT_LNK: Self
pub const DT_SOCK: Self
pub const fn bits(&self) -> u8
pub const fn empty() -> Self
pub fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitAndAssign for DirType
impl BitAndAssign for DirType
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for DirType
impl BitOrAssign for DirType
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Ord for DirType
impl Ord for DirType
Source§impl PartialOrd for DirType
impl PartialOrd for DirType
impl Copy for DirType
impl Eq for DirType
impl StructuralPartialEq for DirType
Auto Trait Implementations§
impl Freeze for DirType
impl RefUnwindSafe for DirType
impl Send for DirType
impl Sync for DirType
impl Unpin for DirType
impl UnwindSafe for DirType
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