#[repr(C, packed(4))]pub struct CMBlockBufferCustomBlockSource {
pub version: u32,
pub AllocateBlock: Option<extern "C" fn(refcon: *mut c_void, size_in_bytes: usize) -> *mut c_void>,
pub FreeBlock: Option<extern "C" fn(refcon: *mut c_void, doomed_memory_block: *mut c_void, size_in_bytes: usize)>,
pub refCon: *mut c_void,
}Fields§
§version: u32§AllocateBlock: Option<extern "C" fn(refcon: *mut c_void, size_in_bytes: usize) -> *mut c_void>§FreeBlock: Option<extern "C" fn(refcon: *mut c_void, doomed_memory_block: *mut c_void, size_in_bytes: usize)>§refCon: *mut c_voidAuto Trait Implementations§
impl Freeze for CMBlockBufferCustomBlockSource
impl RefUnwindSafe for CMBlockBufferCustomBlockSource
impl !Send for CMBlockBufferCustomBlockSource
impl !Sync for CMBlockBufferCustomBlockSource
impl Unpin for CMBlockBufferCustomBlockSource
impl UnwindSafe for CMBlockBufferCustomBlockSource
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