Struct machinery_api::foundation::BuffersApi [−][src]
#[repr(C)]pub struct BuffersApi { pub create: Option<unsafe extern "C" fn(a: *mut AllocatorI) -> *mut BuffersI>, pub destroy: Option<unsafe extern "C" fn(i: *mut BuffersI)>, pub create_streamable: Option<unsafe extern "C" fn(a: *mut AllocatorI, io: *mut OsFileIoApi) -> *mut StreamableBuffersI>, pub destroy_streamable: Option<unsafe extern "C" fn(i: *mut StreamableBuffersI)>, }
Fields
create: Option<unsafe extern "C" fn(a: *mut AllocatorI) -> *mut BuffersI>destroy: Option<unsafe extern "C" fn(i: *mut BuffersI)>create_streamable: Option<unsafe extern "C" fn(a: *mut AllocatorI, io: *mut OsFileIoApi) -> *mut StreamableBuffersI>destroy_streamable: Option<unsafe extern "C" fn(i: *mut StreamableBuffersI)>Implementations
pub unsafe fn create_streamable(
&self,
a: *mut AllocatorI,
io: *mut OsFileIoApi
) -> *mut StreamableBuffersI
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BuffersApi
impl Send for BuffersApi
impl Sync for BuffersApi
impl Unpin for BuffersApi
impl UnwindSafe for BuffersApi
Blanket Implementations
Mutably borrows from an owned value. Read more