Struct i_slint_core::Callback
source · [−]Expand description
A Callback that can be connected to a handler.
The Arg represents the argument. It should always be a tuple
Implementations
Trait Implementations
Auto Trait Implementations
impl<Arg, Ret = ()> !RefUnwindSafe for Callback<Arg, Ret>
impl<Arg, Ret = ()> !Send for Callback<Arg, Ret>
impl<Arg, Ret = ()> !Sync for Callback<Arg, Ret>
impl<Arg: ?Sized, Ret> Unpin for Callback<Arg, Ret>
impl<Arg, Ret = ()> !UnwindSafe for Callback<Arg, Ret>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more