Struct yksom::vm::objects::Double[][src]

pub struct Double { /* fields omitted */ }

A boxed Double (which is synonymous with a f64 in yksom).

Implementations

impl Double[src]

pub fn new(_: &mut VM, val: f64) -> Val[src]

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

pub fn as_integer(&self, vm: &mut VM) -> Val[src]

pub fn round(&self, vm: &mut VM) -> Val[src]

pub fn cos(&self, vm: &mut VM) -> Val[src]

pub fn sin(&self, vm: &mut VM) -> Val[src]

Trait Implementations

impl Debug for Double[src]

impl NotUnboxable for Double[src]

impl Obj for Double[src]

impl StaticObjType for Double[src]

Auto Trait Implementations

impl NoTrace for Double

impl RefUnwindSafe for Double

impl Send for Double

impl Sync for Double

impl Unpin for Double

impl UnwindSafe for Double

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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