Struct libftdi1_sys::ftdi_parity_type
source · #[repr(transparent)]pub struct ftdi_parity_type(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl ftdi_parity_type
impl ftdi_parity_type
pub const NONE: ftdi_parity_type = _
source§impl ftdi_parity_type
impl ftdi_parity_type
pub const ODD: ftdi_parity_type = _
source§impl ftdi_parity_type
impl ftdi_parity_type
pub const EVEN: ftdi_parity_type = _
source§impl ftdi_parity_type
impl ftdi_parity_type
pub const MARK: ftdi_parity_type = _
source§impl ftdi_parity_type
impl ftdi_parity_type
pub const SPACE: ftdi_parity_type = _
Trait Implementations§
source§impl Clone for ftdi_parity_type
impl Clone for ftdi_parity_type
source§fn clone(&self) -> ftdi_parity_type
fn clone(&self) -> ftdi_parity_type
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 moresource§impl Debug for ftdi_parity_type
impl Debug for ftdi_parity_type
source§impl Hash for ftdi_parity_type
impl Hash for ftdi_parity_type
source§impl PartialEq for ftdi_parity_type
impl PartialEq for ftdi_parity_type
source§fn eq(&self, other: &ftdi_parity_type) -> bool
fn eq(&self, other: &ftdi_parity_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ftdi_parity_type
impl Eq for ftdi_parity_type
impl StructuralEq for ftdi_parity_type
impl StructuralPartialEq for ftdi_parity_type
Auto Trait Implementations§
impl RefUnwindSafe for ftdi_parity_type
impl Send for ftdi_parity_type
impl Sync for ftdi_parity_type
impl Unpin for ftdi_parity_type
impl UnwindSafe for ftdi_parity_type
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