Struct leptos_dom::helpers::IntervalHandle
source · pub struct IntervalHandle(_);
Expand description
Handle that is generated by set_interval and can be used to clear the interval.
Implementations§
source§impl IntervalHandle
impl IntervalHandle
sourcepub fn clear(&self)
pub fn clear(&self)
Cancels the repeating event to which this refers.
See clearInterval()
Trait Implementations§
source§impl Clone for IntervalHandle
impl Clone for IntervalHandle
source§fn clone(&self) -> IntervalHandle
fn clone(&self) -> IntervalHandle
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 IntervalHandle
impl Debug for IntervalHandle
source§impl Hash for IntervalHandle
impl Hash for IntervalHandle
source§impl PartialEq<IntervalHandle> for IntervalHandle
impl PartialEq<IntervalHandle> for IntervalHandle
source§fn eq(&self, other: &IntervalHandle) -> bool
fn eq(&self, other: &IntervalHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntervalHandle
impl Eq for IntervalHandle
impl StructuralEq for IntervalHandle
impl StructuralPartialEq for IntervalHandle
Auto Trait Implementations§
impl RefUnwindSafe for IntervalHandle
impl Send for IntervalHandle
impl Sync for IntervalHandle
impl Unpin for IntervalHandle
impl UnwindSafe for IntervalHandle
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.