pub struct Mode(/* private fields */);
Implementations§
Source§impl Mode
impl Mode
pub const S_IRWXU: Mode
pub const S_IRUSR: Mode
pub const S_IWUSR: Mode
pub const S_IXUSR: Mode
pub const S_IRWXG: Mode
pub const S_IRGRP: Mode
pub const S_IWGRP: Mode
pub const S_IXGRP: Mode
pub const S_IRWXO: Mode
pub const S_IROTH: Mode
pub const S_IWOTH: Mode
pub const S_IXOTH: Mode
pub const S_ISUID: Mode
pub const S_ISGID: Mode
pub const S_ISVTX: Mode
pub const S_IFIFO: Mode
pub const S_IFCHR: Mode
pub const S_IFDIR: Mode
pub const S_IFBLK: Mode
pub const S_IFREG: Mode
pub const S_IFLNK: Mode
pub const S_IFSOCK: Mode
pub const S_IFMT: Mode
pub const fn bits(&self) -> u32
pub const fn empty() -> Mode
pub fn contains(&self, other: Mode) -> bool
Trait Implementations§
Source§impl BitAndAssign for Mode
impl BitAndAssign for Mode
Source§fn bitand_assign(&mut self, rhs: Mode)
fn bitand_assign(&mut self, rhs: Mode)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for Mode
impl BitOrAssign for Mode
Source§fn bitor_assign(&mut self, rhs: Mode)
fn bitor_assign(&mut self, rhs: Mode)
Performs the
|=
operation. Read moreSource§impl Ord for Mode
impl Ord for Mode
Source§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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