Fields
frequency: u32
duty_cycle: u16
Trait Implementations
sourceimpl Clone for PwmConfiguration
impl Clone for PwmConfiguration
sourcefn clone(&self) -> PwmConfiguration
fn clone(&self) -> PwmConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PwmConfiguration
impl Debug for PwmConfiguration
sourceimpl Default for PwmConfiguration
impl Default for PwmConfiguration
sourcefn default() -> PwmConfiguration
fn default() -> PwmConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for PwmConfiguration
impl FromByteSlice for PwmConfiguration
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> PwmConfiguration
fn from_le_bytes(bytes: &[u8]) -> PwmConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for PwmConfiguration
impl Hash for PwmConfiguration
sourceimpl PartialEq<PwmConfiguration> for PwmConfiguration
impl PartialEq<PwmConfiguration> for PwmConfiguration
sourcefn eq(&self, other: &PwmConfiguration) -> bool
fn eq(&self, other: &PwmConfiguration) -> bool
impl Copy for PwmConfiguration
impl Eq for PwmConfiguration
impl StructuralEq for PwmConfiguration
impl StructuralPartialEq for PwmConfiguration
Auto Trait Implementations
impl RefUnwindSafe for PwmConfiguration
impl Send for PwmConfiguration
impl Sync for PwmConfiguration
impl Unpin for PwmConfiguration
impl UnwindSafe for PwmConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more