#[repr(C)]pub struct Descriptor {
pub size: usize,
pub trace: TraceFunction,
pub finaliser: Option<FinalFunction>,
pub notified: Option<NotifiedFunction>,
pub destructor: Option<DestructorFunction>,
}Fields§
§size: usize§trace: TraceFunction§finaliser: Option<FinalFunction>§notified: Option<NotifiedFunction>§destructor: Option<DestructorFunction>Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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