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