pub struct DrainConfig {
pub depth: usize,
pub max_children: usize,
pub similarity: f64,
pub filters: Vec<String>,
}Fields§
§depth: usize§max_children: usize§similarity: f64§filters: Vec<String>Implementations§
Source§impl DrainConfig
impl DrainConfig
Trait Implementations§
Source§impl Clone for DrainConfig
impl Clone for DrainConfig
Source§fn clone(&self) -> DrainConfig
fn clone(&self) -> DrainConfig
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 moreSource§impl Debug for DrainConfig
impl Debug for DrainConfig
Source§impl Default for DrainConfig
impl Default for DrainConfig
Source§impl PartialEq for DrainConfig
impl PartialEq for DrainConfig
Source§fn eq(&self, other: &DrainConfig) -> bool
fn eq(&self, other: &DrainConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DrainConfig
Auto Trait Implementations§
impl Freeze for DrainConfig
impl RefUnwindSafe for DrainConfig
impl Send for DrainConfig
impl Sync for DrainConfig
impl Unpin for DrainConfig
impl UnsafeUnpin for DrainConfig
impl UnwindSafe for DrainConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.