pub struct PeripheralsIn {
pub rcc: Option<RccIn>,
pub gpio: Option<GpioIn>,
}Expand description
The device peripherals (from device file).
Fields§
§rcc: Option<RccIn>The rcc peripheral.
gpio: Option<GpioIn>The gpio peripheral.
Trait Implementations§
Source§impl Convertible for PeripheralsIn
impl Convertible for PeripheralsIn
Source§fn to_output(&self, id: &DeviceId, device: &DeviceIn) -> PeripheralsOut
fn to_output(&self, id: &DeviceId, device: &DeviceIn) -> PeripheralsOut
Convert to outputable device peripherals
Source§type Output = PeripheralsOut
type Output = PeripheralsOut
Type of the outputed object
Source§impl Debug for PeripheralsIn
impl Debug for PeripheralsIn
Source§impl<'de> Deserialize<'de> for PeripheralsIn
impl<'de> Deserialize<'de> for PeripheralsIn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PeripheralsIn
impl RefUnwindSafe for PeripheralsIn
impl Send for PeripheralsIn
impl Sync for PeripheralsIn
impl Unpin for PeripheralsIn
impl UnwindSafe for PeripheralsIn
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