#[repr(C, u8)]pub enum ComponentEnumVariantVecDestructor {
DefaultRust,
NoDestructor,
External(ComponentEnumVariantVecDestructorType),
AlreadyDestroyed,
}Variants§
DefaultRust
NoDestructor
External(ComponentEnumVariantVecDestructorType)
AlreadyDestroyed
Destructor was already run — prevents double-free. Set by Drop impl after destruction.
Trait Implementations§
Source§impl Clone for ComponentEnumVariantVecDestructor
impl Clone for ComponentEnumVariantVecDestructor
Source§fn clone(&self) -> ComponentEnumVariantVecDestructor
fn clone(&self) -> ComponentEnumVariantVecDestructor
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 moreimpl Copy for ComponentEnumVariantVecDestructor
Auto Trait Implementations§
impl Freeze for ComponentEnumVariantVecDestructor
impl RefUnwindSafe for ComponentEnumVariantVecDestructor
impl Send for ComponentEnumVariantVecDestructor
impl Sync for ComponentEnumVariantVecDestructor
impl Unpin for ComponentEnumVariantVecDestructor
impl UnsafeUnpin for ComponentEnumVariantVecDestructor
impl UnwindSafe for ComponentEnumVariantVecDestructor
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