pub struct TypeInfo {
pub name: Name,
pub num_params: u32,
pub is_prop: bool,
pub constructors: Vec<CtorInfo>,
pub special_repr: Option<SpecialRepr>,
}Expand description
Runtime type information for a type.
Fields§
§name: NameFully qualified name of the type.
num_params: u32Number of type parameters.
is_prop: boolWhether this is a proposition (proof-irrelevant).
constructors: Vec<CtorInfo>Constructor descriptors.
special_repr: Option<SpecialRepr>Whether this type has a special optimized representation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeInfo
impl RefUnwindSafe for TypeInfo
impl Send for TypeInfo
impl Sync for TypeInfo
impl Unpin for TypeInfo
impl UnsafeUnpin for TypeInfo
impl UnwindSafe for TypeInfo
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