pub struct LimitterState {
pub threshold: u32,
}Expand description
State of limitter part.
Fields§
§threshold: u32The threshold to limit. 0..72 (-18.0..+18.0)
Trait Implementations§
source§impl Clone for LimitterState
impl Clone for LimitterState
source§fn clone(&self) -> LimitterState
fn clone(&self) -> LimitterState
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 LimitterState
impl Debug for LimitterState
source§impl Default for LimitterState
impl Default for LimitterState
source§fn default() -> LimitterState
fn default() -> LimitterState
Returns the “default value” for a type. Read more
source§impl PartialEq for LimitterState
impl PartialEq for LimitterState
source§fn eq(&self, other: &LimitterState) -> bool
fn eq(&self, other: &LimitterState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LimitterState
impl Eq for LimitterState
impl StructuralEq for LimitterState
impl StructuralPartialEq for LimitterState
Auto Trait Implementations§
impl RefUnwindSafe for LimitterState
impl Send for LimitterState
impl Sync for LimitterState
impl Unpin for LimitterState
impl UnwindSafe for LimitterState
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