pub struct StrappingConfiguration {
pub name: String,
pub pins: Vec<PinConfiguration>,
}
Expand description
Configuration of a particular GPIO pin.
Fields§
§name: String
The user-visible name of the strapping combination.
pins: Vec<PinConfiguration>
List of GPIO pin configurations (the alias_of) field should not be used in these.
Trait Implementations§
Source§impl Clone for StrappingConfiguration
impl Clone for StrappingConfiguration
Source§fn clone(&self) -> StrappingConfiguration
fn clone(&self) -> StrappingConfiguration
Returns a copy of the value. Read more
1.0.0 · 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 StrappingConfiguration
impl Debug for StrappingConfiguration
Source§impl<'de> Deserialize<'de> for StrappingConfiguration
impl<'de> Deserialize<'de> for StrappingConfiguration
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 StrappingConfiguration
impl RefUnwindSafe for StrappingConfiguration
impl Send for StrappingConfiguration
impl Sync for StrappingConfiguration
impl Unpin for StrappingConfiguration
impl UnwindSafe for StrappingConfiguration
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