pub struct DirBuilder<'a> { /* private fields */ }
Expand description
Builder for new directory to create.
Implementations§
Source§impl DirBuilder<'_>
impl DirBuilder<'_>
Sourcepub fn permissions(&mut self, perm: Permissions) -> &mut Self
pub fn permissions(&mut self, perm: Permissions) -> &mut Self
Set permissions of the dir to be built.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DirBuilder<'a>
impl<'a> !RefUnwindSafe for DirBuilder<'a>
impl<'a> Send for DirBuilder<'a>
impl<'a> Sync for DirBuilder<'a>
impl<'a> Unpin for DirBuilder<'a>
impl<'a> !UnwindSafe for DirBuilder<'a>
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