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