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