Struct jlrs::value::typemap_entry::TypeMapEntry[][src]

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

One Type-to-Value entry

Implementations

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

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

Invasive linked list

pub fn signature(self) -> DataType<'frame>[src]

The type signature for this entry

pub fn simple_signature(self) -> DataType<'frame>[src]

A simple signature for fast rejection

pub fn guard_signature(self) -> SimpleVector<'frame>[src]

The guard_signature field.

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

The min_world field.

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

The max_world field.

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

The func field.

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

isleaftype(sig) & !any(isType, sig) : unsorted and very fast

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

all(isleaftype | isAny | isType | isVararg, sig) : sorted and fast

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

isVararg(sig)

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

Convert self to a Value.

Trait Implementations

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

type Output = Self

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

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

impl<'scope> Debug for TypeMapEntry<'scope>[src]

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'frame> RefUnwindSafe for TypeMapEntry<'frame>

impl<'frame> !Send for TypeMapEntry<'frame>

impl<'frame> !Sync for TypeMapEntry<'frame>

impl<'frame> Unpin for TypeMapEntry<'frame>

impl<'frame> UnwindSafe for TypeMapEntry<'frame>

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.