Struct fdh::movingwindow::MWFDH[][src]

pub struct MWFDH<H, C> where
    H: ExtendableOutput + Update + Default + Clone,
    C: Fn(&[u8]) -> Choice
{ /* fields omitted */ }

Implementations

impl<H, C> MWFDH<H, C> where
    H: ExtendableOutput + Update + Default + Clone,
    C: Fn(&[u8]) -> Choice
[src]

pub fn new(iterations: usize, output_size: usize, domain_function: C) -> Self[src]

pub fn input(&mut self, input: &[u8])[src]

pub fn results_in_domain(&self) -> Result<Vec<u8>, ()>[src]

Auto Trait Implementations

impl<H, C> RefUnwindSafe for MWFDH<H, C> where
    C: RefUnwindSafe,
    H: RefUnwindSafe
[src]

impl<H, C> Send for MWFDH<H, C> where
    C: Send,
    H: Send
[src]

impl<H, C> Sync for MWFDH<H, C> where
    C: Sync,
    H: Sync
[src]

impl<H, C> Unpin for MWFDH<H, C> where
    C: Unpin,
    H: Unpin
[src]

impl<H, C> UnwindSafe for MWFDH<H, C> where
    C: UnwindSafe,
    H: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,