pub struct WalkOptions {
pub follow_symlinks: bool,
pub entry_filter: WalkEntryFilter,
}Expand description
Options for walking a directory tree.
Fields§
§follow_symlinks: boolFollow symlinks instead of visiting them as link entries.
entry_filter: WalkEntryFilterWhich entry kinds are passed to callbacks.
Trait Implementations§
Source§impl Clone for WalkOptions
impl Clone for WalkOptions
Source§fn clone(&self) -> WalkOptions
fn clone(&self) -> WalkOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WalkOptions
Source§impl Debug for WalkOptions
impl Debug for WalkOptions
Source§impl Default for WalkOptions
impl Default for WalkOptions
impl Eq for WalkOptions
Source§impl PartialEq for WalkOptions
impl PartialEq for WalkOptions
Source§fn eq(&self, other: &WalkOptions) -> bool
fn eq(&self, other: &WalkOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WalkOptions
Auto Trait Implementations§
impl Freeze for WalkOptions
impl RefUnwindSafe for WalkOptions
impl Send for WalkOptions
impl Sync for WalkOptions
impl Unpin for WalkOptions
impl UnsafeUnpin for WalkOptions
impl UnwindSafe for WalkOptions
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