Struct leptos_dom::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 ==
.