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

pub struct Method {
    pub func: Function,
    // some fields omitted
}

Fields

func: Function

Implementations

impl Method[src]

pub fn new(_: &VM, sig: Val, func: Function) -> Val[src]

pub fn bootstrap(&self, vm: &VM)[src]

pub fn sig(&self, _: &VM) -> Val[src]

Trait Implementations

impl Debug for Method[src]

impl NotUnboxable for Method[src]

impl Obj for Method[src]

impl StaticObjType for Method[src]

Auto Trait Implementations

impl !NoTrace for Method

impl !RefUnwindSafe for Method

impl Send for Method

impl !Sync for Method

impl Unpin for Method

impl !UnwindSafe for Method

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