Struct jlrs::value::code_instance::CodeInstance[][src]

#[repr(transparent)]pub struct CodeInstance<'frame>(_, _);

A CodeInstance represents an executable operation.

Implementations

impl<'frame> CodeInstance<'frame>[src]

pub fn def(self) -> MethodInstance<'frame>[src]

Method this instance is specialized from.

pub fn next(self) -> Option<Self>[src]

Next cache entry.

pub fn min_world(self) -> usize[src]

Returns the minimum of the world range for which this object is valid to use.

pub fn max_world(self) -> usize[src]

Returns the maximum of the world range for which this object is valid to use.

pub fn rettype(self) -> Value<'frame, 'static>[src]

Return type for fptr.

pub fn rettype_const(self) -> Option<Value<'frame, 'static>>[src]

Inferred constant return value, or null

pub fn inferred(self) -> Option<Value<'frame, 'static>>[src]

Inferred CodeInfo, Nothing, or None.

pub fn isspecsig(self) -> bool[src]

If specptr is a specialized function signature for specTypes->rettype

pub fn as_value(self) -> Value<'frame, 'static>[src]

Convert self to a Value.

Trait Implementations

impl<'frame, 'data> Cast<'frame, 'data> for CodeInstance<'frame>[src]

type Output = Self

impl<'frame> Clone for CodeInstance<'frame>[src]

impl<'frame> Copy for CodeInstance<'frame>[src]

impl<'frame> Eq for CodeInstance<'frame>[src]

impl<'frame> Hash for CodeInstance<'frame>[src]

impl<'frame> Into<Value<'frame, 'static>> for CodeInstance<'frame>[src]

impl<'frame> JuliaType for CodeInstance<'frame>[src]

impl<'frame> JuliaTypecheck for CodeInstance<'frame>[src]

impl<'frame> PartialEq<CodeInstance<'frame>> for CodeInstance<'frame>[src]

impl<'frame> StructuralEq for CodeInstance<'frame>[src]

impl<'frame> StructuralPartialEq for CodeInstance<'frame>[src]

impl<'frame> ValidLayout for CodeInstance<'frame>[src]

Auto Trait Implementations

impl<'frame> RefUnwindSafe for CodeInstance<'frame>[src]

impl<'frame> !Send for CodeInstance<'frame>[src]

impl<'frame> !Sync for CodeInstance<'frame>[src]

impl<'frame> Unpin for CodeInstance<'frame>[src]

impl<'frame> UnwindSafe for CodeInstance<'frame>[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.