pub struct TypeInfo {
pub name: String,
pub constructors: Vec<(String, u32, Vec<LcnfType>)>,
pub is_recursive: bool,
}Expand description
Type information for layout computation.
Fields§
§name: StringName of the type.
constructors: Vec<(String, u32, Vec<LcnfType>)>Constructors (name, tag, field types).
is_recursive: boolWhether this type is recursive.
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