[][src]Struct varlociraptor::model::modes::generic::GenericModelBuilderBuilder

pub struct GenericModelBuilderBuilder<P> where
    P: Prior<Event = Vec<Event>>, 
{ /* fields omitted */ }

Builder for GenericModelBuilder.

Methods

impl<P: Clone> GenericModelBuilderBuilder<P> where
    P: Prior<Event = Vec<Event>>, 
[src]

pub fn resolutions(&mut self, value: Option<SampleInfo<usize>>) -> &mut Self[src]

pub fn contaminations(
    &mut self,
    value: Option<SampleInfo<Option<Contamination>>>
) -> &mut Self
[src]

pub fn prior(&mut self, value: P) -> &mut Self[src]

pub fn build(&self) -> Result<GenericModelBuilder<P>, String>[src]

Builds a new GenericModelBuilder.

Errors

If a required field has not been initialized.

Trait Implementations

impl<P: Clone> Clone for GenericModelBuilderBuilder<P> where
    P: Prior<Event = Vec<Event>>, 
[src]

impl<P: Default> Default for GenericModelBuilderBuilder<P> where
    P: Prior<Event = Vec<Event>>, 
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for GenericModelBuilderBuilder<P> where
    P: RefUnwindSafe

impl<P> Send for GenericModelBuilderBuilder<P> where
    P: Send

impl<P> Sync for GenericModelBuilderBuilder<P> where
    P: Sync

impl<P> Unpin for GenericModelBuilderBuilder<P> where
    P: Unpin

impl<P> UnwindSafe for GenericModelBuilderBuilder<P> where
    P: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,