[−][src]Struct yadf::YadfBuilder
Builder for Yadf
instances.
See Yadf::builder()
for more info.
Implementations
impl<'a, P, __minimum_file_size, __maximum_file_size, __max_depth, __regex, __glob> YadfBuilder<'a, ((), __minimum_file_size, __maximum_file_size, __max_depth, __regex, __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn paths(
self,
paths: &'a [P]
) -> YadfBuilder<'a, ((&'a [P],), __minimum_file_size, __maximum_file_size, __max_depth, __regex, __glob), P>
[src]
self,
paths: &'a [P]
) -> YadfBuilder<'a, ((&'a [P],), __minimum_file_size, __maximum_file_size, __max_depth, __regex, __glob), P>
Paths that will be checked for duplicate files
impl<'a, P, __paths, __maximum_file_size, __max_depth, __regex, __glob> YadfBuilder<'a, (__paths, (), __maximum_file_size, __max_depth, __regex, __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn minimum_file_size(
self,
minimum_file_size: impl Into<Option<u64>>
) -> YadfBuilder<'a, (__paths, (Option<u64>,), __maximum_file_size, __max_depth, __regex, __glob), P>
[src]
self,
minimum_file_size: impl Into<Option<u64>>
) -> YadfBuilder<'a, (__paths, (Option<u64>,), __maximum_file_size, __max_depth, __regex, __glob), P>
Minimum file size
impl<'a, P, __paths, __minimum_file_size, __max_depth, __regex, __glob> YadfBuilder<'a, (__paths, __minimum_file_size, (), __max_depth, __regex, __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn maximum_file_size(
self,
maximum_file_size: impl Into<Option<u64>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, (Option<u64>,), __max_depth, __regex, __glob), P>
[src]
self,
maximum_file_size: impl Into<Option<u64>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, (Option<u64>,), __max_depth, __regex, __glob), P>
Maximum file size
impl<'a, P, __paths, __minimum_file_size, __maximum_file_size, __regex, __glob> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, (), __regex, __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn max_depth(
self,
max_depth: impl Into<Option<usize>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, (Option<usize>,), __regex, __glob), P>
[src]
self,
max_depth: impl Into<Option<usize>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, (Option<usize>,), __regex, __glob), P>
Maximum recursion depth
impl<'a, P, __paths, __minimum_file_size, __maximum_file_size, __max_depth, __glob> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, (), __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn regex(
self,
regex: impl Into<Option<Regex>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, (Option<Regex>,), __glob), P>
[src]
self,
regex: impl Into<Option<Regex>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, (Option<Regex>,), __glob), P>
File name must match this regex
impl<'a, P, __paths, __minimum_file_size, __maximum_file_size, __max_depth, __regex> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, __regex, ()), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn glob(
self,
glob: impl Into<Option<Glob>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, __regex, (Option<Glob>,)), P>
[src]
self,
glob: impl Into<Option<Glob>>
) -> YadfBuilder<'a, (__paths, __minimum_file_size, __maximum_file_size, __max_depth, __regex, (Option<Glob>,)), P>
File name must match this glob
impl<'a, P, __minimum_file_size: YadfBuilder_Optional<Option<u64>>, __maximum_file_size: YadfBuilder_Optional<Option<u64>>, __max_depth: YadfBuilder_Optional<Option<usize>>, __regex: YadfBuilder_Optional<Option<Regex>>, __glob: YadfBuilder_Optional<Option<Glob>>> YadfBuilder<'a, ((&'a [P],), __minimum_file_size, __maximum_file_size, __max_depth, __regex, __glob), P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Auto Trait Implementations
impl<'a, TypedBuilderFields, P> RefUnwindSafe for YadfBuilder<'a, TypedBuilderFields, P> where
P: RefUnwindSafe,
TypedBuilderFields: RefUnwindSafe,
P: RefUnwindSafe,
TypedBuilderFields: RefUnwindSafe,
impl<'a, TypedBuilderFields, P> Send for YadfBuilder<'a, TypedBuilderFields, P> where
P: Send,
TypedBuilderFields: Send,
P: Send,
TypedBuilderFields: Send,
impl<'a, TypedBuilderFields, P> Sync for YadfBuilder<'a, TypedBuilderFields, P> where
P: Sync,
TypedBuilderFields: Sync,
P: Sync,
TypedBuilderFields: Sync,
impl<'a, TypedBuilderFields, P> Unpin for YadfBuilder<'a, TypedBuilderFields, P> where
P: Unpin,
TypedBuilderFields: Unpin,
P: Unpin,
TypedBuilderFields: Unpin,
impl<'a, TypedBuilderFields, P> UnwindSafe for YadfBuilder<'a, TypedBuilderFields, P> where
P: UnwindSafe,
TypedBuilderFields: UnwindSafe,
P: UnwindSafe,
TypedBuilderFields: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,