pub struct ClassDescriptorInput {
pub identity: ClassIdentity,
pub parents: Vec<DeclaredParent>,
pub constructor_shape: ShapeRef,
pub instance_shape: ShapeRef,
pub members: Vec<MemberShape>,
pub read_construction: Option<ReadConstruction>,
pub metadata: Vec<OpenMetadataEntry>,
}Expand description
Unchecked input consumed exactly once by ClassDescriptor::new.
Fields§
§identity: ClassIdentity§parents: Vec<DeclaredParent>§constructor_shape: ShapeRef§instance_shape: ShapeRef§members: Vec<MemberShape>§read_construction: Option<ReadConstruction>§metadata: Vec<OpenMetadataEntry>Trait Implementations§
Source§impl Clone for ClassDescriptorInput
impl Clone for ClassDescriptorInput
Source§fn clone(&self) -> ClassDescriptorInput
fn clone(&self) -> ClassDescriptorInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for ClassDescriptorInput
impl !UnwindSafe for ClassDescriptorInput
impl Freeze for ClassDescriptorInput
impl Send for ClassDescriptorInput
impl Sync for ClassDescriptorInput
impl Unpin for ClassDescriptorInput
impl UnsafeUnpin for ClassDescriptorInput
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