Struct rten_tensor::GlobalAlloc
source · pub struct GlobalAlloc {}Expand description
Implementation of Alloc which wraps the global allocator.
Implementations§
source§impl GlobalAlloc
impl GlobalAlloc
pub const fn new() -> GlobalAlloc
Trait Implementations§
source§impl Alloc for GlobalAlloc
impl Alloc for GlobalAlloc
Auto Trait Implementations§
impl Freeze for GlobalAlloc
impl RefUnwindSafe for GlobalAlloc
impl Send for GlobalAlloc
impl Sync for GlobalAlloc
impl Unpin for GlobalAlloc
impl UnwindSafe for GlobalAlloc
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