Skip to main content

ForKeySplat

Struct ForKeySplat 

Source
pub struct ForKeySplat;
Expand description

Marker for key and splat arguments.

Trait Implementations§

Source§

impl<F, R, I, T1, T2> FilterFn<ForKeySplat, I, (T1, T2)> for F
where F: Fn(&Key<I>, &T1, &T2) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2)) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3> FilterFn<ForKeySplat, I, (T1, T2, T3)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3)) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4> FilterFn<ForKeySplat, I, (T1, T2, T3, T4)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4), ) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5> FilterFn<ForKeySplat, I, (T1, T2, T3, T4, T5)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5), ) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6> FilterFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6), ) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7> FilterFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7), ) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, T8> FilterFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7, T8)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7, &T8) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1> FilterFn<ForKeySplat, I, (T1,)> for F
where F: Fn(&Key<I>, &T1) -> R + Send + 'static, R: IntoResult<bool>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1,)) -> Result<bool>

Executes the filter function. Read more
Source§

impl<F, R, I, T1, T2, U> FilterMapFn<ForKeySplat, I, (T1, T2), U> for F
where F: Fn(&Key<I>, T1, T2) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2)) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3), U> for F
where F: Fn(&Key<I>, T1, T2, T3) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3, T4), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3, T4, T5), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, T8, U> FilterMapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7, T8), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, I, T1, U> FilterMapFn<ForKeySplat, I, (T1,), U> for F
where F: Fn(&Key<I>, T1) -> R + Send + 'static, R: IntoResult<Option<U>>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1,)) -> Result<Option<U>>

Executes the filter map function. Read more
Source§

impl<F, R, J, I, T1, T2, U> FlatMapFn<ForKeySplat, J, I, (T1, T2), U> for F
where F: Fn(&Key<I>, T1, T2) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2)) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3), U> for F
where F: Fn(&Key<I>, T1, T2, T3) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2, T3)) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, T4, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3, T4), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2, T3, T4)) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, T4, T5, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3, T4, T5), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5), ) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, T4, T5, T6, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3, T4, T5, T6), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6), ) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, T4, T5, T6, T7, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3, T4, T5, T6, T7), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7), ) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, T2, T3, T4, T5, T6, T7, T8, U> FlatMapFn<ForKeySplat, J, I, (T1, T2, T3, T4, T5, T6, T7, T8), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, J, I, T1, U> FlatMapFn<ForKeySplat, J, I, (T1,), U> for F
where F: Fn(&Key<I>, T1) -> R + Send + 'static, R: IntoResult<J>, J: IntoIterator<Item = (Key<I>, U)>, I: Display,

Source§

type Iter = J

Iterator type returned by this function.
Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1,)) -> Result<J>

Executes the flat map function. Read more
Source§

impl<F, R, I, T1, T2, U> GetFn<ForKeySplat, I, (T1, T2), U> for F
where F: Fn(&Key<I>, &T1, &T2) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2)) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, U> GetFn<ForKeySplat, I, (T1, T2, T3), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3)) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, U> GetFn<ForKeySplat, I, (T1, T2, T3, T4), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4)) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, U> GetFn<ForKeySplat, I, (T1, T2, T3, T4, T5), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5), ) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, U> GetFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6), ) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, U> GetFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7), ) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, T8, U> GetFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7, T8), U> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7, &T8) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, U> GetFn<ForKeySplat, I, (T1,), U> for F
where F: Fn(&Key<I>, &T1) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1,)) -> Result<U>

Executes the get function. Read more
Source§

impl<F, R, I, T1, T2> InspectFn<ForKeySplat, I, (T1, T2)> for F
where F: Fn(&Key<I>, &T1, &T2) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2)) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3> InspectFn<ForKeySplat, I, (T1, T2, T3)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3)) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4> InspectFn<ForKeySplat, I, (T1, T2, T3, T4)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4)) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5> InspectFn<ForKeySplat, I, (T1, T2, T3, T4, T5)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5)) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6> InspectFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6), ) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7> InspectFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7), ) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, T8> InspectFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7, T8)> for F
where F: Fn(&Key<I>, &T1, &T2, &T3, &T4, &T5, &T6, &T7, &T8) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: &(T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1> InspectFn<ForKeySplat, I, (T1,)> for F
where F: Fn(&Key<I>, &T1) -> R + Send + 'static, R: IntoResult, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: &(T1,)) -> Result

Executes the inspect function. Read more
Source§

impl<F, R, I, T1, T2, U> MapFn<ForKeySplat, I, (T1, T2), U> for F
where F: Fn(&Key<I>, T1, T2) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2)) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, U> MapFn<ForKeySplat, I, (T1, T2, T3), U> for F
where F: Fn(&Key<I>, T1, T2, T3) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2, T3)) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, U> MapFn<ForKeySplat, I, (T1, T2, T3, T4), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1, T2, T3, T4)) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, U> MapFn<ForKeySplat, I, (T1, T2, T3, T4, T5), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5), ) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, U> MapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6), ) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, U> MapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7), ) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, T2, T3, T4, T5, T6, T7, T8, U> MapFn<ForKeySplat, I, (T1, T2, T3, T4, T5, T6, T7, T8), U> for F
where F: Fn(&Key<I>, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute( &self, scope: &mut Scope<I>, value: (T1, T2, T3, T4, T5, T6, T7, T8), ) -> Result<U>

Executes the map function. Read more
Source§

impl<F, R, I, T1, U> MapFn<ForKeySplat, I, (T1,), U> for F
where F: Fn(&Key<I>, T1) -> R + Send + 'static, R: IntoResult<U>, I: Display,

Source§

fn execute(&self, scope: &mut Scope<I>, value: (T1,)) -> Result<U>

Executes the map function. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Arguments for T
where T: Send + Sync + 'static,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.