[][src]Struct rettle::ingredient::Steep

pub struct Steep {
    pub name: String,
    pub computation: Box<fn(_: Vec<Box<dyn Tea + Send>>, _: &Option<Box<dyn Argument + Send>>) -> Vec<Box<dyn Tea + Send>>>,
    pub params: Option<Box<dyn Argument + Send>>,
}

Ingredient used to transform Tea in the Pot.

Fields

name: Stringcomputation: Box<fn(_: Vec<Box<dyn Tea + Send>>, _: &Option<Box<dyn Argument + Send>>) -> Vec<Box<dyn Tea + Send>>>params: Option<Box<dyn Argument + Send>>

Methods

impl Steep[src]

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

Return params, if any, initialized to this step.

Trait Implementations

impl Ingredient for Steep[src]

impl Sync for Steep[src]

impl Send for Steep[src]

Auto Trait Implementations

impl Unpin for Steep

impl !RefUnwindSafe for Steep

impl !UnwindSafe for Steep

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]