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