Enum libftd2xx::BitsPerWord
source · #[repr(u8)]pub enum BitsPerWord {
Bits7 = 7,
Bits8 = 8,
}
Expand description
Bits per word.
This is used by the set_data_characteristics
method.
Variants§
Trait Implementations§
source§impl Clone for BitsPerWord
impl Clone for BitsPerWord
source§fn clone(&self) -> BitsPerWord
fn clone(&self) -> BitsPerWord
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 BitsPerWord
impl Debug for BitsPerWord
source§impl Default for BitsPerWord
impl Default for BitsPerWord
source§fn default() -> BitsPerWord
fn default() -> BitsPerWord
Returns the “default value” for a type. Read more
source§impl From<BitsPerWord> for u8
impl From<BitsPerWord> for u8
source§fn from(val: BitsPerWord) -> u8
fn from(val: BitsPerWord) -> u8
Converts to this type from the input type.
source§impl Ord for BitsPerWord
impl Ord for BitsPerWord
source§fn cmp(&self, other: &BitsPerWord) -> Ordering
fn cmp(&self, other: &BitsPerWord) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BitsPerWord
impl PartialEq for BitsPerWord
source§fn eq(&self, other: &BitsPerWord) -> bool
fn eq(&self, other: &BitsPerWord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BitsPerWord
impl PartialOrd for BitsPerWord
source§fn partial_cmp(&self, other: &BitsPerWord) -> Option<Ordering>
fn partial_cmp(&self, other: &BitsPerWord) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BitsPerWord
impl Eq for BitsPerWord
impl StructuralPartialEq for BitsPerWord
Auto Trait Implementations§
impl RefUnwindSafe for BitsPerWord
impl Send for BitsPerWord
impl Sync for BitsPerWord
impl Unpin for BitsPerWord
impl UnwindSafe for BitsPerWord
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