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