#[repr(C, packed(4))]pub struct CMBlockBufferCustomBlockSource {
pub version: u32,
pub AllocateBlock: Option<unsafe extern "C" fn(refcon: *mut c_void, sizeInBytes: usize) -> *mut c_void>,
pub FreeBlock: Option<unsafe extern "C" fn(refcon: *mut c_void, doomedMemoryBlock: *mut c_void, sizeInBytes: usize)>,
pub refCon: *mut c_void,
}Expand description
Apple SDK struct CMBlockBufferCustomBlockSource.
Fields§
§version: u32§AllocateBlock: Option<unsafe extern "C" fn(refcon: *mut c_void, sizeInBytes: usize) -> *mut c_void>§FreeBlock: Option<unsafe extern "C" fn(refcon: *mut c_void, doomedMemoryBlock: *mut c_void, sizeInBytes: usize)>§refCon: *mut c_voidTrait Implementations§
impl Copy for CMBlockBufferCustomBlockSource
Auto Trait Implementations§
impl !Send for CMBlockBufferCustomBlockSource
impl !Sync for CMBlockBufferCustomBlockSource
impl Freeze for CMBlockBufferCustomBlockSource
impl RefUnwindSafe for CMBlockBufferCustomBlockSource
impl Unpin for CMBlockBufferCustomBlockSource
impl UnsafeUnpin 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