[−][src]Struct zi::Callback
Callback wrapper. Useful for passing callbacks in child components
Properties. An Rc wrapper is used to make it cloneable.
Implementations
impl<InputT, OutputT> Callback<InputT, OutputT>[src]
Trait Implementations
impl<InputT, OutputT> Clone for Callback<InputT, OutputT>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<InputT, OutputT, FnT> From<FnT> for Callback<InputT, OutputT> where
FnT: Fn(InputT) -> OutputT + 'static, [src]
FnT: Fn(InputT) -> OutputT + 'static,
impl<InputT, OutputT> PartialEq<Callback<InputT, OutputT>> for Callback<InputT, OutputT>[src]
Auto Trait Implementations
impl<InputT, OutputT = ()> !RefUnwindSafe for Callback<InputT, OutputT>
impl<InputT, OutputT = ()> !Send for Callback<InputT, OutputT>
impl<InputT, OutputT = ()> !Sync for Callback<InputT, OutputT>
impl<InputT, OutputT> Unpin for Callback<InputT, OutputT>
impl<InputT, OutputT = ()> !UnwindSafe for Callback<InputT, OutputT>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,