pub struct ConstructorData {
pub header: ObjectHeader,
pub ctor_index: u32,
pub num_fields: u16,
pub scalar_fields: Vec<u64>,
pub object_fields: Vec<RtObject>,
pub name: Option<Name>,
}Expand description
Data for a constructor object.
Fields§
§header: ObjectHeaderObject header.
ctor_index: u32Constructor index within the inductive type.
num_fields: u16Number of fields.
scalar_fields: Vec<u64>Scalar fields (unboxed small values).
object_fields: Vec<RtObject>Object fields (boxed values).
name: Option<Name>The name of the constructor (optional).
Trait Implementations§
Source§impl Clone for ConstructorData
impl Clone for ConstructorData
Source§fn clone(&self) -> ConstructorData
fn clone(&self) -> ConstructorData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConstructorData
impl RefUnwindSafe for ConstructorData
impl Send for ConstructorData
impl Sync for ConstructorData
impl Unpin for ConstructorData
impl UnsafeUnpin for ConstructorData
impl UnwindSafe for ConstructorData
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