pub struct Allocator { /* private fields */ }
Implementations
sourceimpl Allocator
impl Allocator
sourcepub unsafe fn new() -> Allocator
pub unsafe fn new() -> Allocator
Creates a new pool allocator.
Safety
Using the allocator when creating matrix results in a segmentation fault.
sourcepub unsafe fn new_unlocked() -> Allocator
pub unsafe fn new_unlocked() -> Allocator
Creates a new unlocked pool allocator.
Safety
Using the allocator when creating matrix results in a segmentation fault.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Allocator
impl !Send for Allocator
impl !Sync for Allocator
impl Unpin for Allocator
impl UnwindSafe for Allocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more