pub struct PwmPeriod {
pub period: Duration,
pub duty_cycle: f32,
}
Fields§
§period: Duration
§duty_cycle: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PwmPeriod
impl RefUnwindSafe for PwmPeriod
impl Send for PwmPeriod
impl Sync for PwmPeriod
impl Unpin for PwmPeriod
impl UnwindSafe for PwmPeriod
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