[]Struct augdom::event::DragStart

pub struct DragStart(_);

The user starts dragging an element or text selection. 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 Event for DragStart[src]

impl AsRef<Event> for DragStart[src]

impl AsRef<JsValue> for DragStart[src]

impl From<DragStart> for JsValue[src]

impl Deref for DragStart[src]

type Target = DragEvent

The resulting type after dereferencing.

impl RefFromWasmAbi for DragStart[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, DragStart>

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 FromWasmAbi for DragStart[src]

type Abi = u32

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

impl IntoWasmAbi for DragStart[src]

type Abi = u32

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

impl WasmDescribe for DragStart[src]

impl OptionFromWasmAbi for DragStart[src]

impl OptionIntoWasmAbi for DragStart[src]

impl RefMutFromWasmAbi for DragStart[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, DragStart>

Same as RefFromWasmAbi::Anchor

impl JsCast for DragStart[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi