#[non_exhaustive]#[repr(u16)]pub enum LeftRightBalance100 {
Mask = 16_383,
Right = 32_768,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for LeftRightBalance100
impl Clone for LeftRightBalance100
Source§fn clone(&self) -> LeftRightBalance100
fn clone(&self) -> LeftRightBalance100
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 moreSource§impl Debug for LeftRightBalance100
impl Debug for LeftRightBalance100
Source§impl Hash for LeftRightBalance100
impl Hash for LeftRightBalance100
Source§impl PartialEq for LeftRightBalance100
impl PartialEq for LeftRightBalance100
Source§fn eq(&self, other: &LeftRightBalance100) -> bool
fn eq(&self, other: &LeftRightBalance100) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeftRightBalance100
impl Eq for LeftRightBalance100
impl StructuralPartialEq for LeftRightBalance100
Auto Trait Implementations§
impl Freeze for LeftRightBalance100
impl RefUnwindSafe for LeftRightBalance100
impl Send for LeftRightBalance100
impl Sync for LeftRightBalance100
impl Unpin for LeftRightBalance100
impl UnsafeUnpin for LeftRightBalance100
impl UnwindSafe for LeftRightBalance100
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