pub struct Access(pub u32);Expand description
Access permissions.
Tuple Fields§
§0: u32Implementations§
Source§impl Access
impl Access
Sourcepub const fn is_delete_protected(self) -> bool
pub const fn is_delete_protected(self) -> bool
Check if delete is protected (inverted in AFFS).
Sourcepub const fn is_execute_protected(self) -> bool
pub const fn is_execute_protected(self) -> bool
Check if execute is protected.
Sourcepub const fn is_write_protected(self) -> bool
pub const fn is_write_protected(self) -> bool
Check if write is protected.
Sourcepub const fn is_read_protected(self) -> bool
pub const fn is_read_protected(self) -> bool
Check if read is protected.
Sourcepub const fn is_archived(self) -> bool
pub const fn is_archived(self) -> bool
Check if archived flag is set.
Trait Implementations§
impl Copy for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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