pub struct DutyLimitArg(pub u16);Expand description
A raw duty limit on the 0-65535 scale, or off to stop enforcing one.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for DutyLimitArg
impl Clone for DutyLimitArg
Source§fn clone(&self) -> DutyLimitArg
fn clone(&self) -> DutyLimitArg
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DutyLimitArg
impl Debug for DutyLimitArg
Source§impl FromStr for DutyLimitArg
impl FromStr for DutyLimitArg
Source§impl PartialEq for DutyLimitArg
impl PartialEq for DutyLimitArg
impl Copy for DutyLimitArg
impl Eq for DutyLimitArg
impl StructuralPartialEq for DutyLimitArg
Auto Trait Implementations§
impl Freeze for DutyLimitArg
impl RefUnwindSafe for DutyLimitArg
impl Send for DutyLimitArg
impl Sync for DutyLimitArg
impl Unpin for DutyLimitArg
impl UnwindSafe for DutyLimitArg
Blanket Implementations§
§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)