pub struct Listener<State, Event>(/* private fields */);
Expand description
Implementations§
Trait Implementations§
Source§impl<State, Event> AsListener<State, Event> for Listener<State, Event>
impl<State, Event> AsListener<State, Event> for Listener<State, Event>
Source§fn as_listener(&self) -> Listener<State, Event>
fn as_listener(&self) -> Listener<State, Event>
Produce a Listener, a weak reference to this callback.
Auto Trait Implementations§
impl<State, Event> Freeze for Listener<State, Event>
impl<State, Event> !RefUnwindSafe for Listener<State, Event>
impl<State, Event> !Send for Listener<State, Event>
impl<State, Event> !Sync for Listener<State, Event>
impl<State, Event> Unpin for Listener<State, Event>
impl<State, Event> !UnwindSafe for Listener<State, Event>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self
to an optional value of a Properties
struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.