pub struct ThrottleState {
pub mode: ThrottleMode,
pub rate: Option<RunLoopRateHz>,
}Fields§
§mode: ThrottleMode§rate: Option<RunLoopRateHz>Trait Implementations§
Source§impl Clone for ThrottleState
impl Clone for ThrottleState
Source§fn clone(&self) -> ThrottleState
fn clone(&self) -> ThrottleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThrottleState
impl Debug for ThrottleState
Source§impl PartialEq for ThrottleState
impl PartialEq for ThrottleState
Source§fn eq(&self, other: &ThrottleState) -> bool
fn eq(&self, other: &ThrottleState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ThrottleState
impl StructuralPartialEq for ThrottleState
Auto Trait Implementations§
impl Freeze for ThrottleState
impl RefUnwindSafe for ThrottleState
impl Send for ThrottleState
impl Sync for ThrottleState
impl Unpin for ThrottleState
impl UnsafeUnpin for ThrottleState
impl UnwindSafe for ThrottleState
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