pub enum InstanceRepr {
Complete,
Args(Vec<InstanceArg>),
Unrecorded(&'static str),
}Expand description
How much of a value’s type its own payload determines.
Variants§
Complete
The descriptor is the whole answer: every scalar, Unit, BitSet.
Args(Vec<InstanceArg>)
The type takes arguments, and these are what the payload records, in the
order the type spells them (Map[K, V] yields key then value).
Unrecorded(&'static str)
The value’s type is not recoverable from the value. The string says why,
and is what a NoRuntimeRepr reports.
Auto Trait Implementations§
impl !RefUnwindSafe for InstanceRepr
impl !Send for InstanceRepr
impl !Sync for InstanceRepr
impl !UnwindSafe for InstanceRepr
impl Freeze for InstanceRepr
impl Unpin for InstanceRepr
impl UnsafeUnpin for InstanceRepr
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