[]Struct moxie_dom::prelude::event::DragEnd

pub struct DragEnd(_);

A drag operation is being ended (by releasing a mouse button or hitting the escape key). MDN documentation

Methods from Deref<Target = DragEvent>

pub fn init_drag_event(&self, type_: &str)[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent

pub fn init_drag_event_with_can_bubble(&self, type_: &str, can_bubble: bool)[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent

pub fn init_drag_event_with_can_bubble_and_cancelable(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32,
    a_ctrl_key: bool
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32,
    a_ctrl_key: bool,
    a_alt_key: bool
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32,
    a_ctrl_key: bool,
    a_alt_key: bool,
    a_shift_key: bool
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32,
    a_ctrl_key: bool,
    a_alt_key: bool,
    a_shift_key: bool,
    a_meta_key: bool
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    a_view: Option<&Window>,
    a_detail: i32,
    a_screen_x: i32,
    a_screen_y: i32,
    a_client_x: i32,
    a_client_y: i32,
    a_ctrl_key: bool,
    a_alt_key: bool,
    a_shift_key: bool,
    a_meta_key: bool,
    a_button: u16
)
[src]

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, Window

The initDragEvent() method.

MDN Documentation

This API requires the following crate features to be activated: DragEvent, EventTarget, Window

Trait Implementations

impl AsRef<Event> for DragEnd[src]

impl AsRef<JsValue> for DragEnd[src]

impl Debug for DragEnd[src]

impl Deref for DragEnd[src]

type Target = DragEvent

The resulting type after dereferencing.

impl Event for DragEnd[src]

impl From<DragEnd> for JsValue[src]

impl FromWasmAbi for DragEnd[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl GlobalEvent for DragEnd[src]

impl IntoWasmAbi for DragEnd[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for DragEnd[src]

impl OptionFromWasmAbi for DragEnd[src]

impl OptionIntoWasmAbi for DragEnd[src]

impl RefFromWasmAbi for DragEnd[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, DragEnd>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl RefMutFromWasmAbi for DragEnd[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, DragEnd>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl RefUnwindSafe for DragEnd

impl !Send for DragEnd

impl !Sync for DragEnd

impl Unpin for DragEnd

impl UnwindSafe for DragEnd

Blanket Implementations

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

impl<T> AsContext for T where
    T: Debug + 'static, 
[src]

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

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

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

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

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

impl<T> Pretty for T where
    T: AsRef<JsValue>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.