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

pub struct Fill {
    pub source: String,
    pub name: String,
    pub computation: Box<fn(_: &Option<Box<dyn Argument + Send>>, _: &Brewery, _: Arc<RwLock<Vec<Box<dyn Ingredient + 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 + Send + Sync>>>>)>params: Option<Box<dyn Argument + Send>>

Methods

impl Fill[src]

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

Return params, if any, initialized to this step.

Trait Implementations

impl Source for Fill[src]

Auto Trait Implementations

impl !Sync for Fill

impl Send for Fill

impl Unpin for Fill

impl !RefUnwindSafe for Fill

impl !UnwindSafe for Fill

Blanket Implementations

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.

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

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

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