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