[−][src]Struct plaster::html::ondragstart::Wrapper
A wrapper for a callback. Listener extracted from here when attached.
Trait Implementations
impl<T, COMP> Listener<COMP> for Wrapper<T> where
T: Fn(DragEvent) -> COMP::Message + 'static,
COMP: Component + Renderable<COMP>,
[src]
T: Fn(DragEvent) -> COMP::Message + 'static,
COMP: Component + Renderable<COMP>,
fn kind(&self) -> &'static str
[src]
fn attach(
&mut self,
element: &Element,
activator: Scope<COMP>
) -> EventListenerHandle
[src]
&mut self,
element: &Element,
activator: Scope<COMP>
) -> EventListenerHandle
impl<F, MSG> From<F> for Wrapper<F> where
MSG: 'static,
F: Fn(DragEvent) -> MSG + 'static,
[src]
MSG: 'static,
F: Fn(DragEvent) -> MSG + 'static,
Auto Trait Implementations
impl<F> Sync for Wrapper<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Wrapper<F> where
F: Unpin,
F: Unpin,
impl<F> Send for Wrapper<F> where
F: Send,
F: Send,
impl<F> UnwindSafe for Wrapper<F> where
F: UnwindSafe,
F: UnwindSafe,
impl<F> RefUnwindSafe for Wrapper<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,