pub struct TimerId {
pub id: u64,
}
Expand description
Identifier for a running timer.
Its internals are considered private, but due to UniFFI’s behavior we expose its field for now.
Fields
id: u64
This timer’s id.
Trait Implementations
impl Copy for TimerId
impl Eq for TimerId
impl StructuralEq for TimerId
impl StructuralPartialEq for TimerId
Auto Trait Implementations
impl RefUnwindSafe for TimerId
impl Send for TimerId
impl Sync for TimerId
impl Unpin for TimerId
impl UnwindSafe for TimerId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more