pub struct TypeInstance {
pub type_tag: Arc<str>,
pub fields: MapValue,
}Expand description
A record or reify instance. type_tag identifies the concrete type;
fields holds the key/value pairs (keyword → value).
Fields§
§type_tag: Arc<str>§fields: MapValueTrait Implementations§
Source§impl Clone for TypeInstance
impl Clone for TypeInstance
Source§fn clone(&self) -> TypeInstance
fn clone(&self) -> TypeInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeInstance
impl Debug for TypeInstance
Source§impl Trace for TypeInstance
impl Trace for TypeInstance
fn trace(&self, visitor: &mut MarkVisitor)
fn gc_size_extra(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for TypeInstance
impl !Send for TypeInstance
impl !Sync for TypeInstance
impl !UnwindSafe for TypeInstance
impl Freeze for TypeInstance
impl Unpin for TypeInstance
impl UnsafeUnpin for TypeInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more