Skip to main content

Tuple0Call

Trait Tuple0Call 

Source
pub trait Tuple0Call {
    // Required method
    fn call<F, O>(self, f: F) -> O
       where F: FnOnce() -> O;
}

Required Methods§

Source

fn call<F, O>(self, f: F) -> O
where F: FnOnce() -> O,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Tuple0Call for ()

Source§

fn call<F, O>(self, f: F) -> O
where F: FnOnce() -> O,

Implementors§