#[repr(C)]pub struct TimerSlack {
pub amount: i64,
pub mode: SlackMode,
}Fields§
§amount: i64§mode: SlackModeImplementations§
Source§impl TimerSlack
impl TimerSlack
Trait Implementations§
Source§impl Clone for TimerSlack
impl Clone for TimerSlack
Source§fn clone(&self) -> TimerSlack
fn clone(&self) -> TimerSlack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerSlack
Source§impl Debug for TimerSlack
impl Debug for TimerSlack
impl Eq for TimerSlack
Source§impl PartialEq for TimerSlack
impl PartialEq for TimerSlack
impl StructuralPartialEq for TimerSlack
Auto Trait Implementations§
impl Freeze for TimerSlack
impl RefUnwindSafe for TimerSlack
impl Send for TimerSlack
impl Sync for TimerSlack
impl Unpin for TimerSlack
impl UnsafeUnpin for TimerSlack
impl UnwindSafe for TimerSlack
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read moreSource§fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
First initializes the value using
self then calls the function f with the initialized
value. Read more