Struct mio_serial::SerialPortInfo
[−]
[src]
pub struct SerialPortInfo { pub port_name: String, pub port_type: SerialPortType, }
A device-independent implementation of serial port information.
Fields
port_name: String
The short name of the serial port
port_type: SerialPortType
The hardware device type that exposes this port
Trait Implementations
impl PartialEq<SerialPortInfo> for SerialPortInfo
[src]
fn eq(&self, __arg_0: &SerialPortInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SerialPortInfo) -> bool
[src]
This method tests for !=
.
impl Clone for SerialPortInfo
[src]
fn clone(&self) -> SerialPortInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more