#[non_exhaustive]pub enum UnitDisplay {
Short,
Narrow,
Long,
}Expand description
:unit’s unitDisplay.
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.
Trait Implementations§
Source§impl Clone for UnitDisplay
impl Clone for UnitDisplay
impl Copy for UnitDisplay
Source§impl Debug for UnitDisplay
impl Debug for UnitDisplay
impl Eq for UnitDisplay
Source§impl Hash for UnitDisplay
impl Hash for UnitDisplay
Source§impl PartialEq for UnitDisplay
impl PartialEq for UnitDisplay
impl StructuralPartialEq for UnitDisplay
Auto Trait Implementations§
impl Freeze for UnitDisplay
impl RefUnwindSafe for UnitDisplay
impl Send for UnitDisplay
impl Sync for UnitDisplay
impl Unpin for UnitDisplay
impl UnsafeUnpin for UnitDisplay
impl UnwindSafe for UnitDisplay
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