Struct jlrs::value::type_name::TypeName[][src]

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

Describes the syntactic structure of a type and stores all data common to different instantiations of the type, including a cache for hash-consed allocation of DataTypes.

Implementations

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

pub fn name(self) -> Symbol<'frame>[src]

The name field.

pub fn module(self) -> Module<'frame>[src]

The module field.

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

Field names.

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

Either the only instantiation of the type (if no parameters) or a UnionAll accepting parameters to make an instantiation.

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

Sorted array.

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

Unsorted array.

pub fn hash(self) -> isize[src]

The hash field.

pub fn mt(self) -> MethodTable<'frame>[src]

The mt field.

pub fn partial(self) -> Array<'frame, 'static>[src]

Incomplete instantiations of this type.

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

Convert self to a Value.

impl<'base> TypeName<'base>[src]

pub fn vecelement_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll VecElement.

pub fn array_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll Array.

pub fn pointer_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll Ptr.

pub fn llvmpointer_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll LLVMPtr.

pub fn namedtuple_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll NamedTuple.

pub fn vararg_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll Vararg.

pub fn type_typename(_: Global<'base>) -> Self[src]

The typename of the UnionAll Type.

pub fn tuple_typename(_: Global<'base>) -> Self[src]

The typename of the DataType Tuple.

Trait Implementations

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

type Output = Self

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'frame> RefUnwindSafe for TypeName<'frame>

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

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

impl<'frame> Unpin for TypeName<'frame>

impl<'frame> UnwindSafe for TypeName<'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.