pub struct ConstLimit<A, const L: usize> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<A: Clone, const L: usize> Clone for ConstLimit<A, L>
impl<A: Clone, const L: usize> Clone for ConstLimit<A, L>
Source§fn clone(&self) -> ConstLimit<A, L>
fn clone(&self) -> ConstLimit<A, L>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<A: GlobalAlloc, const L: usize> GlobalAlloc for ConstLimit<A, L>
impl<A: GlobalAlloc, const L: usize> GlobalAlloc for ConstLimit<A, L>
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, const L: usize> Freeze for ConstLimit<A, L>where
A: Freeze,
impl<A, const L: usize> RefUnwindSafe for ConstLimit<A, L>where
A: RefUnwindSafe,
impl<A, const L: usize> Send for ConstLimit<A, L>where
A: Send,
impl<A, const L: usize> Sync for ConstLimit<A, L>where
A: Sync,
impl<A, const L: usize> Unpin for ConstLimit<A, L>where
A: Unpin,
impl<A, const L: usize> UnwindSafe for ConstLimit<A, L>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