Struct panda_sys::ProtobufCAllocator [−][src]
#[repr(C)]pub struct ProtobufCAllocator { pub alloc: Option<unsafe extern "C" fn(allocator_data: *mut c_void, size: size_t) -> *mut c_void>, pub free: Option<unsafe extern "C" fn(allocator_data: *mut c_void, pointer: *mut c_void)>, pub allocator_data: *mut c_void, }
Fields
alloc: Option<unsafe extern "C" fn(allocator_data: *mut c_void, size: size_t) -> *mut c_void>
free: Option<unsafe extern "C" fn(allocator_data: *mut c_void, pointer: *mut c_void)>
allocator_data: *mut c_void
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProtobufCAllocator
impl !Send for ProtobufCAllocator
impl !Sync for ProtobufCAllocator
impl Unpin for ProtobufCAllocator
impl UnwindSafe for ProtobufCAllocator
Blanket Implementations
Mutably borrows from an owned value. Read more