pub struct AccessModes {
pub readable: bool,
pub writable: bool,
pub executable: bool,
}
Expand description
Access modes for use with [DirExt::access
].
Fields§
§readable: bool
Is the object readable?
writable: bool
Is the object writable?
executable: bool
Is the object executable?
Trait Implementations§
Source§impl Clone for AccessModes
impl Clone for AccessModes
Source§fn clone(&self) -> AccessModes
fn clone(&self) -> AccessModes
Returns a copy of the value. Read more
1.0.0 · 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 AccessModes
impl Debug for AccessModes
impl Copy for AccessModes
Auto Trait Implementations§
impl Freeze for AccessModes
impl RefUnwindSafe for AccessModes
impl Send for AccessModes
impl Sync for AccessModes
impl Unpin for AccessModes
impl UnwindSafe for AccessModes
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