pub struct CtorInfo {
pub name: Name,
pub index: u32,
pub num_scalar_fields: u16,
pub num_object_fields: u16,
pub field_names: Vec<String>,
}Expand description
Constructor information for runtime dispatch.
Fields§
§name: NameConstructor name.
index: u32Constructor index.
num_scalar_fields: u16Number of scalar (unboxed) fields.
num_object_fields: u16Number of object (boxed) fields.
field_names: Vec<String>Field names (if named constructor).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CtorInfo
impl RefUnwindSafe for CtorInfo
impl Send for CtorInfo
impl Sync for CtorInfo
impl Unpin for CtorInfo
impl UnsafeUnpin for CtorInfo
impl UnwindSafe for CtorInfo
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