Struct vexide_simulator_protocol::AdiPort
source · pub struct AdiPort(pub u8);Expand description
A 3-wire “ADI” port for analog devices.
Tuple Fields§
§0: u8Trait Implementations§
source§impl<'de> Deserialize<'de> for AdiPort
impl<'de> Deserialize<'de> for AdiPort
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
source§impl Ord for AdiPort
impl Ord for AdiPort
source§impl PartialEq for AdiPort
impl PartialEq for AdiPort
source§impl PartialOrd for AdiPort
impl PartialOrd for AdiPort
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for AdiPort
impl Eq for AdiPort
impl StructuralPartialEq for AdiPort
Auto Trait Implementations§
impl Freeze for AdiPort
impl RefUnwindSafe for AdiPort
impl Send for AdiPort
impl Sync for AdiPort
impl Unpin for AdiPort
impl UnwindSafe for AdiPort
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