Enum ublox::UartPortId
source · #[repr(u8)]pub enum UartPortId {
Uart1 = 1,
Uart2 = 2,
Usb = 3,
}
Expand description
Port Identifier Number (= 1 or 2 for UART ports)
Variants§
Trait Implementations§
source§impl Clone for UartPortId
impl Clone for UartPortId
source§fn clone(&self) -> UartPortId
fn clone(&self) -> UartPortId
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 UartPortId
impl Debug for UartPortId
source§impl Serialize for UartPortId
impl Serialize for UartPortId
impl Copy for UartPortId
Auto Trait Implementations§
impl RefUnwindSafe for UartPortId
impl Send for UartPortId
impl Sync for UartPortId
impl Unpin for UartPortId
impl UnwindSafe for UartPortId
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