#[repr(C)]pub struct Allocator { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl AsMut<Allocator> for nk_allocator
impl AsMut<Allocator> for nk_allocator
Source§impl AsMut<nk_allocator> for Allocator
impl AsMut<nk_allocator> for Allocator
Source§fn as_mut(&mut self) -> &mut nk_allocator
fn as_mut(&mut self) -> &mut nk_allocator
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<Allocator> for nk_allocator
impl AsRef<Allocator> for nk_allocator
Source§impl AsRef<nk_allocator> for Allocator
impl AsRef<nk_allocator> for Allocator
Source§fn as_ref(&self) -> &nk_allocator
fn as_ref(&self) -> &nk_allocator
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Allocator
impl RefUnwindSafe for Allocator
impl !Send for Allocator
impl !Sync for Allocator
impl Unpin for Allocator
impl UnwindSafe for Allocator
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