Struct esp_idf_hal::rmt::config::DutyPercent
source · pub struct DutyPercent(/* private fields */);
Expand description
A percentage from 0 to 100%, used to specify the duty percentage in CarrierConfig
.
Implementations§
Trait Implementations§
source§impl Clone for DutyPercent
impl Clone for DutyPercent
source§fn clone(&self) -> DutyPercent
fn clone(&self) -> DutyPercent
Returns a copy 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 DutyPercent
impl Debug for DutyPercent
source§impl PartialEq for DutyPercent
impl PartialEq for DutyPercent
impl Copy for DutyPercent
impl Eq for DutyPercent
impl StructuralPartialEq for DutyPercent
Auto Trait Implementations§
impl Freeze for DutyPercent
impl RefUnwindSafe for DutyPercent
impl Send for DutyPercent
impl Sync for DutyPercent
impl Unpin for DutyPercent
impl UnwindSafe for DutyPercent
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)