pub struct PwmChip(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl PwmChip
impl PwmChip
pub fn new(chip: u8) -> Self
pub fn get_channel(self, channel: u8) -> PwmChannel
pub fn get_channel_count(self) -> u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PwmChip
impl RefUnwindSafe for PwmChip
impl Send for PwmChip
impl Sync for PwmChip
impl Unpin for PwmChip
impl UnwindSafe for PwmChip
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