pub struct Limit<A> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, A: GlobalAlloc> GlobalAlloc for &'a Limit<A>
impl<'a, A: GlobalAlloc> GlobalAlloc for &'a Limit<A>
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 moreSource§impl<A: GlobalAlloc> GlobalAlloc for Limit<A>
impl<A: GlobalAlloc> GlobalAlloc for Limit<A>
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<A> !Freeze for Limit<A>
impl<A> RefUnwindSafe for Limit<A>where
A: RefUnwindSafe,
impl<A> Send for Limit<A>where
A: Send,
impl<A> Sync for Limit<A>where
A: Sync,
impl<A> Unpin for Limit<A>where
A: Unpin,
impl<A> UnwindSafe for Limit<A>where
A: UnwindSafe,
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