#[repr(C)]pub struct SrcCtx1<T> {
pub version: Index,
pub info: *mut T,
pub retain: Option<extern "C-unwind" fn(info: *const T) -> *mut T>,
pub release: Option<extern "C-unwind" fn(info: *const T)>,
pub desc: Option<extern "C-unwind" fn(info: *const T) -> R<String>>,
pub equal: Option<extern "C-unwind" fn(info0: *const T, info1: *const T) -> bool>,
pub hash: Option<extern "C-unwind" fn(info: *const T) -> HashCode>,
pub port: Option<extern "C-unwind" fn(info: *mut T) -> Port>,
pub perform: Option<extern "C-unwind" fn(msg: *mut c_void, size: Index, allocator: Option<&Allocator>, info: *mut T) -> *mut c_void>,
}Fields§
§version: Index§info: *mut T§retain: Option<extern "C-unwind" fn(info: *const T) -> *mut T>§release: Option<extern "C-unwind" fn(info: *const T)>§desc: Option<extern "C-unwind" fn(info: *const T) -> R<String>>§equal: Option<extern "C-unwind" fn(info0: *const T, info1: *const T) -> bool>§hash: Option<extern "C-unwind" fn(info: *const T) -> HashCode>§port: Option<extern "C-unwind" fn(info: *mut T) -> Port>§perform: Option<extern "C-unwind" fn(msg: *mut c_void, size: Index, allocator: Option<&Allocator>, info: *mut T) -> *mut c_void>Trait Implementations§
Auto Trait Implementations§
impl<T> !Send for SrcCtx1<T>
impl<T> !Sync for SrcCtx1<T>
impl<T> Freeze for SrcCtx1<T>
impl<T> RefUnwindSafe for SrcCtx1<T>where
T: RefUnwindSafe,
impl<T> Unpin for SrcCtx1<T>
impl<T> UnsafeUnpin for SrcCtx1<T>
impl<T> UnwindSafe for SrcCtx1<T>where
T: RefUnwindSafe,
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