Struct arret_runtime::boxed::Num[][src]

#[repr(C, align(16))]
pub struct Num { /* fields omitted */ }

Union of numeric types

Implementations

impl Num[src]

pub fn as_subtype(&self) -> NumSubtype<'_>[src]

Returns a subtype of this value based on its type tag

pub fn downcast_ref<T: NumMember>(&self) -> Option<Gc<T>>[src]

Tries to downcast this reference to a subtype based on its type tag

Trait Implementations

impl Boxed for Num[src]

impl Debug for Num[src]

impl DistinctTagged for Num[src]

impl Drop for Num[src]

impl EncodeBoxedAbiType for Num[src]

impl HashInHeap for Num[src]

impl PartialEqInHeap for Num[src]

Auto Trait Implementations

impl RefUnwindSafe for Num

impl Send for Num

impl Sync for Num

impl Unpin for Num

impl UnwindSafe for Num

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, 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.