#[non_exhaustive]#[repr(u8)]pub enum LeftRightBalance {
Mask = 127,
Right = 128,
}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 LeftRightBalance
impl Clone for LeftRightBalance
Source§fn clone(&self) -> LeftRightBalance
fn clone(&self) -> LeftRightBalance
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 LeftRightBalance
impl Debug for LeftRightBalance
Source§impl Hash for LeftRightBalance
impl Hash for LeftRightBalance
Source§impl PartialEq for LeftRightBalance
impl PartialEq for LeftRightBalance
Source§fn eq(&self, other: &LeftRightBalance) -> bool
fn eq(&self, other: &LeftRightBalance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeftRightBalance
impl Eq for LeftRightBalance
impl StructuralPartialEq for LeftRightBalance
Auto Trait Implementations§
impl Freeze for LeftRightBalance
impl RefUnwindSafe for LeftRightBalance
impl Send for LeftRightBalance
impl Sync for LeftRightBalance
impl Unpin for LeftRightBalance
impl UnsafeUnpin for LeftRightBalance
impl UnwindSafe for LeftRightBalance
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