Struct vexide_simulator_protocol::SmartPort
source · pub struct SmartPort(pub u8);Expand description
An RJ9 4p4c “Smart” port on the VEX V5.
Tuple Fields§
§0: u8Trait Implementations§
source§impl<'de> Deserialize<'de> for SmartPort
impl<'de> Deserialize<'de> for SmartPort
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 SmartPort
impl Ord for SmartPort
source§impl PartialEq for SmartPort
impl PartialEq for SmartPort
source§impl PartialOrd for SmartPort
impl PartialOrd for SmartPort
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 SmartPort
impl Eq for SmartPort
impl StructuralPartialEq for SmartPort
Auto Trait Implementations§
impl Freeze for SmartPort
impl RefUnwindSafe for SmartPort
impl Send for SmartPort
impl Sync for SmartPort
impl Unpin for SmartPort
impl UnwindSafe for SmartPort
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