#[repr(C)]
pub struct Callback<Arg: ?Sized, Ret = ()> { /* fields omitted */ }
Expand description
A Callback that can be connected to a handler.
The Arg represents the argument. It should always be a tuple
Call the callback with the given argument.
Set an handler to be called when the callback is called
There can only be one single handler per callback.
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.