Struct arret_runtime::boxed::type_info::TypeInfo[][src]

pub struct TypeInfo { /* fields omitted */ }

Contains associated runtime type information for boxed data

This is a container for Interner and ClassMap.

Implementations

impl TypeInfo[src]

pub fn new(interner: Interner, class_map: ClassMap) -> TypeInfo[src]

Constructs type information with the given components

pub fn empty() -> TypeInfo[src]

Constructs empty type information

pub fn clone_for_collect_garbage(&self) -> Self[src]

Returns a clone of this type information suitable for garbage collection

pub fn interner(&self) -> &Interner[src]

Returns the symbol interner

pub fn interner_mut(&mut self) -> &mut Interner[src]

Returns a mutable reference to the symbol interner

pub fn class_map(&self) -> &ClassMap[src]

Returns the class map

pub fn class_map_mut(&mut self) -> &mut ClassMap[src]

Returns a mutable reference to the class map

Trait Implementations

impl AsInterner for TypeInfo[src]

Auto Trait Implementations

impl !RefUnwindSafe for TypeInfo

impl !Send for TypeInfo

impl !Sync for TypeInfo

impl Unpin for TypeInfo

impl UnwindSafe for TypeInfo

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.