Struct leptos_dom::ev::devicemotion
source · pub struct devicemotion;
Expand description
The devicemotion
event, which receives DeviceMotionEvent as its argument.
Trait Implementations§
source§impl Clone for devicemotion
impl Clone for devicemotion
source§fn clone(&self) -> devicemotion
fn clone(&self) -> devicemotion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl EventDescriptor for devicemotion
impl EventDescriptor for devicemotion
§type EventType = DeviceMotionEvent
type EventType = DeviceMotionEvent
The
web_sys
event type, such as web_sys::MouseEvent
.source§fn event_delegation_key(&self) -> Cow<'static, str>
fn event_delegation_key(&self) -> Cow<'static, str>
The key used for event delegation.
impl Copy for devicemotion
Auto Trait Implementations§
impl RefUnwindSafe for devicemotion
impl Send for devicemotion
impl Sync for devicemotion
impl Unpin for devicemotion
impl UnwindSafe for devicemotion
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