pub struct SQLite3Allocator {}Expand description
A GlobalAlloc implementation forwarding allocations to the memory allocation subsystem in SQLite.
Using this allocator allows moving allocated Rust values to SQLite.
Trait Implementations§
Source§impl GlobalAlloc for SQLite3Allocator
impl GlobalAlloc for SQLite3Allocator
Source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocates memory as described by the given
layout. Read moreAuto Trait Implementations§
impl Freeze for SQLite3Allocator
impl RefUnwindSafe for SQLite3Allocator
impl Send for SQLite3Allocator
impl Sync for SQLite3Allocator
impl Unpin for SQLite3Allocator
impl UnsafeUnpin for SQLite3Allocator
impl UnwindSafe for SQLite3Allocator
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