#[repr(C, align(4))]pub struct CMBlockBufferCustomBlockSource {
pub version: u32,
pub AllocateBlock: extern "C" fn(*mut c_void, size_t) -> *mut c_void,
pub FreeBlock: extern "C" fn(*mut c_void, *mut c_void, size_t),
pub refcon: *mut c_void,
}Fields§
§version: u32§AllocateBlock: extern "C" fn(*mut c_void, size_t) -> *mut c_void§FreeBlock: extern "C" fn(*mut c_void, *mut c_void, size_t)§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