Enum BaseUnit

enum BaseUnit

Variants

Bit
Byte

Implementations

impl Clone for BaseUnit

fn clone(self: &Self) -> BaseUnit

impl Copy for BaseUnit

impl Debug for BaseUnit

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for BaseUnit

fn default() -> BaseUnit

impl Freeze for BaseUnit

impl PartialEq for BaseUnit

fn eq(self: &Self, other: &BaseUnit) -> bool

impl RefUnwindSafe for BaseUnit

impl Send for BaseUnit

impl StructuralPartialEq for BaseUnit

impl Sync for BaseUnit

impl Unpin for BaseUnit

impl UnsafeUnpin for BaseUnit

impl UnwindSafe for BaseUnit

impl<T> Any for BaseUnit

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BaseUnit

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for BaseUnit

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for BaseUnit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for BaseUnit

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for BaseUnit

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for BaseUnit

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for BaseUnit

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for BaseUnit

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>