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