pub enum CopyImplementationError<'tcx> {
InfrigingFields(Vec<&'tcx FieldDef>),
NotAnAdt,
HasDestructor,
}Variants
InfrigingFields(Vec<&'tcx FieldDef>)
NotAnAdt
HasDestructor
Trait Implementations
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for CopyImplementationError
impl<'tcx> Send for CopyImplementationError
impl<'tcx> Sync for CopyImplementationError
impl<'tcx> Unpin for CopyImplementationError
impl<'tcx> UnwindSafe for CopyImplementationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
InfrigingFields: 24 bytesNotAnAdt: 0 bytesHasDestructor: 0 bytes