pub enum DataBits {
Five,
Six,
Seven,
Eight,
}Expand description
Number of bits for each data character.
Variants§
Five
5 bits per character.
Six
6 bits per character.
Seven
7 bits per character. Used for true ASCII.
Eight
8 bits per character. This is default in most cases.
Trait Implementations§
impl Copy for DataBits
impl Eq for DataBits
impl StructuralPartialEq for DataBits
Auto Trait Implementations§
impl Freeze for DataBits
impl RefUnwindSafe for DataBits
impl Send for DataBits
impl Sync for DataBits
impl Unpin for DataBits
impl UnwindSafe for DataBits
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