Struct serialport::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 Debug for SerialPortInfo
[src]
impl Debug for SerialPortInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SerialPortInfo
[src]
impl Clone for SerialPortInfo
fn clone(&self) -> SerialPortInfo
[src]
fn clone(&self) -> SerialPortInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SerialPortInfo
[src]
impl PartialEq for SerialPortInfo
fn eq(&self, other: &SerialPortInfo) -> bool
[src]
fn eq(&self, other: &SerialPortInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SerialPortInfo) -> bool
[src]
fn ne(&self, other: &SerialPortInfo) -> bool
This method tests for !=
.
impl Eq for SerialPortInfo
[src]
impl Eq for SerialPortInfo
Auto Trait Implementations
impl Send for SerialPortInfo
impl Send for SerialPortInfo
impl Sync for SerialPortInfo
impl Sync for SerialPortInfo