pub struct Instance {
pub name: String,
pub signals: Vec<Signal>,
}
Expand description
An instance of a peripheral.
Fields§
§name: String
The name of the peripheral instance, for example, PORTB
.
signals: Vec<Signal>
What signals are used in the peripheral.
Trait Implementations§
Source§impl PartialOrd for Instance
impl PartialOrd for Instance
impl Eq for Instance
impl StructuralPartialEq for Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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