pub enum Pin {
NC {
name: String,
position: Position,
},
IO {
name: String,
position: Position,
params: Box<IOPin>,
},
BOOT {
name: String,
position: Position,
},
NRST {
name: String,
position: Position,
},
POWER {
name: String,
position: Position,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pin
impl<'de> Deserialize<'de> for Pin
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 Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
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