pub struct HistogramDiffFactory {
pub max_chain_length: usize,
}Expand description
Factory for creating HistogramDiff algorithm instances.
Fields§
§max_chain_length: usizeImplementations§
Source§impl HistogramDiffFactory
impl HistogramDiffFactory
pub fn new() -> Self
pub fn with_max_chain_length(max_chain_length: usize) -> Self
Trait Implementations§
Source§impl Clone for HistogramDiffFactory
impl Clone for HistogramDiffFactory
Source§fn clone(&self) -> HistogramDiffFactory
fn clone(&self) -> HistogramDiffFactory
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 HistogramDiffFactory
Source§impl Debug for HistogramDiffFactory
impl Debug for HistogramDiffFactory
Source§impl Default for HistogramDiffFactory
impl Default for HistogramDiffFactory
Source§fn default() -> HistogramDiffFactory
fn default() -> HistogramDiffFactory
Returns the “default value” for a type. Read more
Source§impl<T: PartialEq + 'static> DiffAlgorithmFactory<T> for HistogramDiffFactory
impl<T: PartialEq + 'static> DiffAlgorithmFactory<T> for HistogramDiffFactory
impl Eq for HistogramDiffFactory
Source§impl PartialEq for HistogramDiffFactory
impl PartialEq for HistogramDiffFactory
impl StructuralPartialEq for HistogramDiffFactory
Auto Trait Implementations§
impl Freeze for HistogramDiffFactory
impl RefUnwindSafe for HistogramDiffFactory
impl Send for HistogramDiffFactory
impl Sync for HistogramDiffFactory
impl Unpin for HistogramDiffFactory
impl UnsafeUnpin for HistogramDiffFactory
impl UnwindSafe for HistogramDiffFactory
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