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