#[repr(C)]pub struct CMBlockBufferCustomBlockSource {
pub version: u32,
pub AllocateBlock: extern "C" fn(refCon: *mut c_void, sizeInBytes: size_t) -> *mut c_void,
pub FreeBlock: extern "C" fn(refCon: *mut c_void, doomedMemoryBlock: *mut c_void, sizeInBytes: size_t),
pub refCon: *mut c_void,
}Fields§
§version: u32§AllocateBlock: extern "C" fn(refCon: *mut c_void, sizeInBytes: size_t) -> *mut c_void§FreeBlock: extern "C" fn(refCon: *mut c_void, doomedMemoryBlock: *mut c_void, sizeInBytes: size_t)§refCon: *mut c_voidTrait Implementations§
Source§impl Clone for CMBlockBufferCustomBlockSource
impl Clone for CMBlockBufferCustomBlockSource
Source§fn clone(&self) -> CMBlockBufferCustomBlockSource
fn clone(&self) -> CMBlockBufferCustomBlockSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CMBlockBufferCustomBlockSource
Auto 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