pub struct PinMode {
pub id: PinModeId,
pub resolution: u8,
}
Expand description
Represents a mode configuration for a pin.
Fields§
§id: PinModeId
Currently configured mode.
resolution: u8
Resolution (number of bits) this mode uses.
Implementations§
Trait Implementations§
impl Copy for PinMode
Auto Trait Implementations§
impl Freeze for PinMode
impl RefUnwindSafe for PinMode
impl Send for PinMode
impl Sync for PinMode
impl Unpin for PinMode
impl UnwindSafe for PinMode
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