[][src]Trait streaming_algorithms::New

pub trait New {
    type Config: Clone;
    fn new(config: &Self::Config) -> Self;
}

New instances are instantiable given a specified input of <Self as New>::Config.

Associated Types

type Config: Clone

The type of data required to instantiate a new Self.

Loading content...

Required methods

fn new(config: &Self::Config) -> Self

Instantiate a new Self with the given <Self as New>::Config.

Loading content...

Implementations on Foreign Types

impl New for u8[src]

type Config = ()

impl New for u16[src]

type Config = ()

impl New for u32[src]

type Config = ()

impl New for u64[src]

type Config = ()

impl New for usize[src]

type Config = ()

Loading content...

Implementors

impl<V: Hash> New for HyperLogLogMagnitude<V>[src]

type Config = f64

impl<V: ?Sized> New for HyperLogLog<V> where
    V: Hash
[src]

type Config = f64

Loading content...