pub struct CardinalitySettings {
pub input: bool,
pub output: bool,
pub buckets: usize,
pub k: Option<usize>,
pub seed: u64,
pub min_probability: f64,
}Fields§
§input: bool§output: bool§buckets: usize§k: Option<usize>§seed: u64§min_probability: f64Trait Implementations§
Source§impl Clone for CardinalitySettings
impl Clone for CardinalitySettings
Source§fn clone(&self) -> CardinalitySettings
fn clone(&self) -> CardinalitySettings
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 CardinalitySettings
impl Debug for CardinalitySettings
Source§impl Default for CardinalitySettings
impl Default for CardinalitySettings
Source§impl PartialEq for CardinalitySettings
impl PartialEq for CardinalitySettings
Source§fn eq(&self, other: &CardinalitySettings) -> bool
fn eq(&self, other: &CardinalitySettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CardinalitySettings
Auto Trait Implementations§
impl Freeze for CardinalitySettings
impl RefUnwindSafe for CardinalitySettings
impl Send for CardinalitySettings
impl Sync for CardinalitySettings
impl Unpin for CardinalitySettings
impl UnsafeUnpin for CardinalitySettings
impl UnwindSafe for CardinalitySettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more