Struct stakker::FixedTimerKey
source · pub struct FixedTimerKey { /* private fields */ }
Expand description
Timer key for a fixed timer
Returned by Core::timer_add
or Core::after
. It can be
used to delete a timer with Core::timer_del
. It is plain
Copy
data, 8 bytes long. Note that the key should only be used
on this same Stakker instance. If it is used on another then
it might cause a panic.
Trait Implementations§
source§impl Clone for FixedTimerKey
impl Clone for FixedTimerKey
source§fn clone(&self) -> FixedTimerKey
fn clone(&self) -> FixedTimerKey
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 FixedTimerKey
impl Debug for FixedTimerKey
source§impl Default for FixedTimerKey
impl Default for FixedTimerKey
source§fn default() -> FixedTimerKey
fn default() -> FixedTimerKey
Returns the “default value” for a type. Read more
source§impl PartialEq<FixedTimerKey> for FixedTimerKey
impl PartialEq<FixedTimerKey> for FixedTimerKey
source§fn eq(&self, other: &FixedTimerKey) -> bool
fn eq(&self, other: &FixedTimerKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FixedTimerKey
impl Eq for FixedTimerKey
impl StructuralEq for FixedTimerKey
impl StructuralPartialEq for FixedTimerKey
Auto Trait Implementations§
impl RefUnwindSafe for FixedTimerKey
impl Send for FixedTimerKey
impl Sync for FixedTimerKey
impl Unpin for FixedTimerKey
impl UnwindSafe for FixedTimerKey
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