#[repr(C)]pub struct PwmDutyPermilleAbi {
pub version: u16,
pub permille: u16,
}Expand description
Input of SET_DUTY_PERMILLE. permille is 0..=PERMILLE_FULL_SCALE.
Fields§
§version: u16§permille: u16Trait Implementations§
Source§impl Clone for PwmDutyPermilleAbi
impl Clone for PwmDutyPermilleAbi
Source§fn clone(&self) -> PwmDutyPermilleAbi
fn clone(&self) -> PwmDutyPermilleAbi
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 PwmDutyPermilleAbi
impl Debug for PwmDutyPermilleAbi
Source§impl Default for PwmDutyPermilleAbi
impl Default for PwmDutyPermilleAbi
Source§fn default() -> PwmDutyPermilleAbi
fn default() -> PwmDutyPermilleAbi
Returns the “default value” for a type. Read more
Source§impl PartialEq for PwmDutyPermilleAbi
impl PartialEq for PwmDutyPermilleAbi
Source§fn eq(&self, other: &PwmDutyPermilleAbi) -> bool
fn eq(&self, other: &PwmDutyPermilleAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PwmDutyPermilleAbi
impl Eq for PwmDutyPermilleAbi
impl PlainData for PwmDutyPermilleAbi
impl StructuralPartialEq for PwmDutyPermilleAbi
Auto Trait Implementations§
impl Freeze for PwmDutyPermilleAbi
impl RefUnwindSafe for PwmDutyPermilleAbi
impl Send for PwmDutyPermilleAbi
impl Sync for PwmDutyPermilleAbi
impl Unpin for PwmDutyPermilleAbi
impl UnsafeUnpin for PwmDutyPermilleAbi
impl UnwindSafe for PwmDutyPermilleAbi
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