Enum stark::sail::core::Cfg[][src]

#[repr(u8)]
pub enum Cfg {
Show variants B0BoolF, B0BoolT, B0Other, B1U8, B1I8, B1Other, B2U16, B2I16, B2Err, B2Other, B4U32, B4I32, B4F32, B4Sym, B4Other, B8U64, B8I64, B8F64, B8Ptr, B8Other, B16U128, B16I128, B16Other, VecStd, VecStr, VecArr, VecAny, VecHash, VecOther, ProcLambda, ProcNative, Other,
}
Expand description

Contains all valid values for the high six bits of an SlHead

Variants

B0BoolF
B0BoolT
B0Other
B1U8
B1I8
B1Other
B2U16
B2I16
B2Err
B2Other
B4U32
B4I32
B4F32
B4Sym
B4Other
B8U64
B8I64
B8F64
B8Ptr
B8Other
B16U128
B16I128
B16Other
VecStd
VecStr
VecArr
VecAny
VecHash
VecOther
ProcLambda
ProcNative
Other

Trait Implementations

impl Debug for Cfg[src]

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

Formats the value using the given formatter. Read more

impl PartialEq<Cfg> for Cfg[src]

fn eq(&self, other: &Cfg) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl TryFrom<Cfg> for CoreType[src]

type Error = ()

The type returned in the event of a conversion error.

fn try_from(v: Cfg) -> Result<Self, Self::Error>[src]

Performs the conversion.

impl TryFrom<u8> for Cfg[src]

type Error = ()

The type returned in the event of a conversion error.

fn try_from(v: u8) -> Result<Self, Self::Error>[src]

Performs the conversion.

impl Eq for Cfg[src]

impl StructuralEq for Cfg[src]

impl StructuralPartialEq for Cfg[src]

Auto Trait Implementations

impl RefUnwindSafe for Cfg

impl Send for Cfg

impl Sync for Cfg

impl Unpin for Cfg

impl UnwindSafe for Cfg

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.