[−][src]Struct rettle::ingredient::Pour
Ingredient used to send Tea to somewhere else.
Fields
name: String
computation: Box<fn(_: Vec<T>, _: &Option<Box<dyn Argument + Send>>) -> Vec<T>>
params: Option<Box<dyn Argument + Send>>
Methods
impl<T: Send> Pour<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> Ingredient<T> for Pour<T>
[src]
fn get_name(&self) -> &str
[src]
fn print(&self)
[src]
fn as_any(&self) -> &dyn Any
[src]
fn exec(&self, tea_batch: Vec<T>) -> Vec<T>
[src]
impl<T: Send> Send for Pour<T>
[src]
impl<T: Send> Sync for Pour<T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,