[][src]Struct rettle::ingredient::Fill

pub struct Fill<T: Send> {
    pub source: String,
    pub name: String,
    pub computation: Box<fn(_: &Option<Box<dyn Argument + Send>>, _: &Brewery, _: Arc<RwLock<Vec<Box<dyn Ingredient<T> + Send + Sync>>>>)>,
    pub params: Option<Box<dyn Argument + Send>>,
}

Ingredient used to import or create Tea used in the Pot.

Fields

source: Stringname: Stringcomputation: Box<fn(_: &Option<Box<dyn Argument + Send>>, _: &Brewery, _: Arc<RwLock<Vec<Box<dyn Ingredient<T> + Send + Sync>>>>)>params: Option<Box<dyn Argument + Send>>

Methods

impl<T: Send> Fill<T>[src]

pub fn get_params(&self) -> &Option<Box<dyn Argument + Send>>[src]

Return params, if any, initialized to this step.

Trait Implementations

impl<T: Send + 'static> Source<T> for Fill<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Fill<T>

impl<T> Send for Fill<T>

impl<T> !Sync for Fill<T>

impl<T> Unpin for Fill<T>

impl<T> !UnwindSafe for Fill<T>

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