pub enum SerialDirection {
Input,
Output,
}Variants§
Trait Implementations§
Source§impl Clone for SerialDirection
impl Clone for SerialDirection
Source§fn clone(&self) -> SerialDirection
fn clone(&self) -> SerialDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialDirection
Source§impl Debug for SerialDirection
impl Debug for SerialDirection
impl Eq for SerialDirection
Source§impl PartialEq for SerialDirection
impl PartialEq for SerialDirection
Source§fn eq(&self, other: &SerialDirection) -> bool
fn eq(&self, other: &SerialDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SerialDirection
Auto Trait Implementations§
impl Freeze for SerialDirection
impl RefUnwindSafe for SerialDirection
impl Send for SerialDirection
impl Sync for SerialDirection
impl Unpin for SerialDirection
impl UnsafeUnpin for SerialDirection
impl UnwindSafe for SerialDirection
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