pub enum SerialParity {
None,
Even,
Odd,
}Variants§
Trait Implementations§
Source§impl Clone for SerialParity
impl Clone for SerialParity
Source§fn clone(&self) -> SerialParity
fn clone(&self) -> SerialParity
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 SerialParity
Source§impl Debug for SerialParity
impl Debug for SerialParity
impl Eq for SerialParity
Source§impl PartialEq for SerialParity
impl PartialEq for SerialParity
impl StructuralPartialEq for SerialParity
Auto Trait Implementations§
impl Freeze for SerialParity
impl RefUnwindSafe for SerialParity
impl Send for SerialParity
impl Sync for SerialParity
impl Unpin for SerialParity
impl UnsafeUnpin for SerialParity
impl UnwindSafe for SerialParity
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