pub struct Peripheral(pub BTreeMap<String, Value>);Expand description
One [peripherals.<instance>] table: a raw bag of keys. Pin roles are
string values; tuning parameters are everything else.
Tuple Fields§
§0: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for Peripheral
impl Clone for Peripheral
Source§fn clone(&self) -> Peripheral
fn clone(&self) -> Peripheral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Peripheral
impl Debug for Peripheral
Source§impl Default for Peripheral
impl Default for Peripheral
Source§fn default() -> Peripheral
fn default() -> Peripheral
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Peripheral
impl<'de> Deserialize<'de> for Peripheral
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 Peripheral
impl RefUnwindSafe for Peripheral
impl Send for Peripheral
impl Sync for Peripheral
impl Unpin for Peripheral
impl UnsafeUnpin for Peripheral
impl UnwindSafe for Peripheral
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