Struct arret_runtime::boxed::Float[][src]

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

Boxed 64bit floating point value

Implementations

impl Float[src]

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

Constructs a new float

pub fn size() -> BoxSize[src]

Returns the box size for floats

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

Returns the unboxed value of this float

impl Float[src]

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

Casts this value to its supertype

Trait Implementations

impl Boxed for Float[src]

impl ConstTagged for Float[src]

impl Debug for Float[src]

impl DistinctTagged for Float[src]

impl Hash for Float[src]

impl PartialEq<Float> for Float[src]

impl NumMember for Float[src]

impl UniqueTagged for Float[src]

Auto Trait Implementations

impl RefUnwindSafe for Float

impl Send for Float

impl Sync for Float

impl Unpin for Float

impl UnwindSafe for Float

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.