Enum tokio_serial::DataBits
[−]pub enum DataBits {
Five,
Six,
Seven,
Eight,
}
Expand description
Number of bits per character
Variants
Five
5 bits per character
Six
6 bits per character
Seven
7 bits per character
Eight
8 bits per character
Trait Implementations
impl Copy for DataBits
impl Eq for DataBits
impl StructuralEq for DataBits
impl StructuralPartialEq for DataBits
Auto Trait Implementations
impl RefUnwindSafe for DataBits
impl Send for DataBits
impl Sync for DataBits
impl Unpin for DataBits
impl UnwindSafe for DataBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more