[][src]Struct yew::events::ContextMenuEvent

pub struct ContextMenuEvent(_);

The ContextMenuEvent event is fired when the right button of the mouse is clicked (before the context menu is displayed), or when the context menu key is pressed.

(JavaScript docs)

Trait Implementations

impl AsRef<Reference> for ContextMenuEvent[src]

impl Clone for ContextMenuEvent[src]

impl ConcreteEvent for ContextMenuEvent[src]

impl Debug for ContextMenuEvent[src]

impl Eq for ContextMenuEvent[src]

impl IEvent for ContextMenuEvent[src]

impl IMouseEvent for ContextMenuEvent[src]

impl IUiEvent for ContextMenuEvent[src]

impl InstanceOf for ContextMenuEvent[src]

impl JsSerialize for ContextMenuEvent[src]

impl PartialEq<ContextMenuEvent> for ContextMenuEvent[src]

impl ReferenceType for ContextMenuEvent[src]

impl StructuralEq for ContextMenuEvent[src]

impl StructuralPartialEq for ContextMenuEvent[src]

impl<'_r> TryFrom<&'_r Reference> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Event> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<MouseEvent> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Reference> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<UiEvent> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for ContextMenuEvent[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.