Struct arret_runtime::boxed::Int[][src]

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

Boxed 64bit signed integer

Implementations

impl Int[src]

pub fn new(heap: &mut impl AsHeap, value: i64) -> Gc<Int>[src]

Constructs a new integer

pub fn size() -> BoxSize[src]

Returns the box size for integers

pub fn value(&self) -> i64[src]

Returns the unboxed value of this integer

impl Int[src]

pub fn as_num_ref(&self) -> Gc<Num>[src]

Casts this value to its supertype

Trait Implementations

impl Boxed for Int[src]

impl ConstTagged for Int[src]

impl Debug for Int[src]

impl DistinctTagged for Int[src]

impl Hash for Int[src]

impl PartialEq<Int> for Int[src]

impl NumMember for Int[src]

impl UniqueTagged for Int[src]

Auto Trait Implementations

impl RefUnwindSafe for Int

impl Send for Int

impl Sync for Int

impl Unpin for Int

impl UnwindSafe for Int

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> EncodeBoxedAbiType for T where
    T: UniqueTagged
[src]

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

impl<T> HashInHeap for T where
    T: Hash
[src]

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

impl<T> PartialEqInHeap for T where
    T: PartialEq<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.