Struct closures::ClosureOnce9
[−]
[src]
pub struct ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> { /* fields omitted */ }
Methods
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9>
[src]
fn new(
state: S,
f: fn(_: S, _: T1, _: T2, _: T3, _: T4, _: T5, _: T6, _: T7, _: T8, _: T9) -> R
) -> Self
state: S,
f: fn(_: S, _: T1, _: T2, _: T3, _: T4, _: T5, _: T6, _: T7, _: T8, _: T9) -> R
) -> Self
fn state(&self) -> &S
fn state_mut(&mut self) -> &mut S
fn into_state(self) -> S
Trait Implementations
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> FnOnce<(T1, T2, T3, T4, T5, T6, T7, T8, T9)> for ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9>
[src]
type Output = R
The returned type after the call operator is used.
extern "rust-call" fn call_once(
self,
(T1, T2, T3, T4, T5, T6, T7, T8, T9): (T1, T2, T3, T4, T5, T6, T7, T8, T9)
) -> Self::Output
self,
(T1, T2, T3, T4, T5, T6, T7, T8, T9): (T1, T2, T3, T4, T5, T6, T7, T8, T9)
) -> Self::Output
🔬 This is a nightly-only experimental API. (
fn_traits
)This is called when the call operator is used.
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> PartialEq for ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> where
S: PartialEq,
[src]
S: PartialEq,
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> Eq for ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> where
S: Eq,
[src]
S: Eq,
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> Copy for ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> where
S: Copy,
[src]
S: Copy,
impl<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> Clone for ClosureOnce9<S, R, T1, T2, T3, T4, T5, T6, T7, T8, T9> where
S: Clone,
[src]
S: Clone,
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more