pub enum ConsolePort {
Default = 0,
Com1 = 1,
Com2 = 2,
None = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for ConsolePort
impl Clone for ConsolePort
Source§fn clone(&self) -> ConsolePort
fn clone(&self) -> ConsolePort
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 moreimpl Copy for ConsolePort
Auto Trait Implementations§
impl Freeze for ConsolePort
impl RefUnwindSafe for ConsolePort
impl Send for ConsolePort
impl Sync for ConsolePort
impl Unpin for ConsolePort
impl UnwindSafe for ConsolePort
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