pub struct DirectoryBuilder { /* private fields */ }Expand description
Builder for Directory.
Implementations§
Source§impl DirectoryBuilder
impl DirectoryBuilder
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn nested_directories<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn nested_files<VALUE: Into<Vec<File>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn nested_files<VALUE: Into<Vec<File>>>( &mut self, value: VALUE, ) -> &mut Self
Files that are directly nested under this directory.
Trait Implementations§
Source§impl Clone for DirectoryBuilder
impl Clone for DirectoryBuilder
Source§fn clone(&self) -> DirectoryBuilder
fn clone(&self) -> DirectoryBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DirectoryBuilder
impl RefUnwindSafe for DirectoryBuilder
impl Send for DirectoryBuilder
impl Sync for DirectoryBuilder
impl Unpin for DirectoryBuilder
impl UnsafeUnpin for DirectoryBuilder
impl UnwindSafe for DirectoryBuilder
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