Struct leptos_dom::helpers::AnimationFrameRequestHandle
source · pub struct AnimationFrameRequestHandle(_);
Expand description
Handle that is generated by request_animation_frame_with_handle and can be used to cancel the animation frame request.
Implementations§
source§impl AnimationFrameRequestHandle
impl AnimationFrameRequestHandle
sourcepub fn cancel(&self)
pub fn cancel(&self)
Cancels the animation frame request to which this refers.
See cancelAnimationFrame()
Trait Implementations§
source§impl Clone for AnimationFrameRequestHandle
impl Clone for AnimationFrameRequestHandle
source§fn clone(&self) -> AnimationFrameRequestHandle
fn clone(&self) -> AnimationFrameRequestHandle
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 Debug for AnimationFrameRequestHandle
impl Debug for AnimationFrameRequestHandle
source§impl Hash for AnimationFrameRequestHandle
impl Hash for AnimationFrameRequestHandle
source§impl PartialEq<AnimationFrameRequestHandle> for AnimationFrameRequestHandle
impl PartialEq<AnimationFrameRequestHandle> for AnimationFrameRequestHandle
source§fn eq(&self, other: &AnimationFrameRequestHandle) -> bool
fn eq(&self, other: &AnimationFrameRequestHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AnimationFrameRequestHandle
impl Eq for AnimationFrameRequestHandle
impl StructuralEq for AnimationFrameRequestHandle
impl StructuralPartialEq for AnimationFrameRequestHandle
Auto Trait Implementations§
impl RefUnwindSafe for AnimationFrameRequestHandle
impl Send for AnimationFrameRequestHandle
impl Sync for AnimationFrameRequestHandle
impl Unpin for AnimationFrameRequestHandle
impl UnwindSafe for AnimationFrameRequestHandle
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
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.