Trait bitflags::__core::ops::FnOnce 1.0.0
[−]
[src]
pub trait FnOnce<Args> { type Output; extern "rust-call" fn call_once(self, args: Args) -> Self::Output; }
A version of the call operator that takes a by-value receiver.
Associated Types
Required Methods
extern "rust-call" fn call_once(self, args: Args) -> Self::Output
[−]
Unstable (
fn_traits
)This is called when the call operator is used.
Implementors
impl<'a, A, F> FnOnce<A> for &'a F where F: Fn<A> + ?Sized
impl<'a, A, F> FnOnce<A> for &'a mut F where F: FnMut<A> + ?Sized
impl<R, F> FnOnce() for AssertUnwindSafe<F> where F: FnOnce() -> R
impl<R, F> FnOnce() for AssertRecoverSafe<F> where F: FnOnce() -> R
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output=R> + 'a>
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output=R> + 'a + Send>
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output=R> + 'a>
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output=R> + 'a + Send>