#[non_exhaustive]pub enum StatedUnit {
Bit,
Byte,
}Expand description
The unit of a StatedDef.
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 StatedUnit
impl Clone for StatedUnit
Source§fn clone(&self) -> StatedUnit
fn clone(&self) -> StatedUnit
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 moreimpl Copy for StatedUnit
Source§impl Debug for StatedUnit
impl Debug for StatedUnit
impl Eq for StatedUnit
Source§impl Hash for StatedUnit
impl Hash for StatedUnit
Source§impl PartialEq for StatedUnit
impl PartialEq for StatedUnit
impl StructuralPartialEq for StatedUnit
Auto Trait Implementations§
impl Freeze for StatedUnit
impl RefUnwindSafe for StatedUnit
impl Send for StatedUnit
impl Sync for StatedUnit
impl Unpin for StatedUnit
impl UnsafeUnpin for StatedUnit
impl UnwindSafe for StatedUnit
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