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