[][src]Struct lasso::SmallCord

#[repr(transparent)]pub struct SmallCord(_);

A small Key for Lasso

Internally is a NonZeroU32 to allow for space optimizations when stored inside of an Option

Trait Implementations

impl Clone for SmallCord[src]

impl Copy for SmallCord[src]

impl Debug for SmallCord[src]

impl Eq for SmallCord[src]

impl Hash for SmallCord[src]

impl Key for SmallCord[src]

fn from_usize(int: usize) -> Self[src]

Panics if int is greater than usize::MAX - 1

fn try_from_usize(int: usize) -> Option<Self>[src]

Returns None if int is greater than usize::MAX - 1

impl Ord for SmallCord[src]

impl PartialEq<SmallCord> for SmallCord[src]

impl PartialOrd<SmallCord> for SmallCord[src]

impl StructuralEq for SmallCord[src]

impl StructuralPartialEq for SmallCord[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.