pub struct Dumper { /* private fields */ }Expand description
Dumper for creating navigation guides from directory structures
Implementations§
Source§impl Dumper
impl Dumper
Sourcepub fn with_max_depth(self, max_depth: Option<usize>) -> Self
pub fn with_max_depth(self, max_depth: Option<usize>) -> Self
Set the maximum depth to traverse
Sourcepub fn with_exclude_patterns(self, patterns: &[String]) -> Result<Self>
pub fn with_exclude_patterns(self, patterns: &[String]) -> Result<Self>
Set exclude patterns
Sourcepub fn with_indent_size(self, indent_size: usize) -> Self
pub fn with_indent_size(self, indent_size: usize) -> Self
Set the indent size
Sourcepub fn dump_with_wrapper(&self) -> Result<String>
pub fn dump_with_wrapper(&self) -> Result<String>
Dump with XML wrapper tags
Auto Trait Implementations§
impl Freeze for Dumper
impl RefUnwindSafe for Dumper
impl Send for Dumper
impl Sync for Dumper
impl Unpin for Dumper
impl UnwindSafe for Dumper
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