pub struct HeapLimits {
pub max_bytes: usize,
}Fields§
§max_bytes: usizeReserved bytes the heap may not exceed; usize::MAX for no cap.
Trait Implementations§
Source§impl Clone for HeapLimits
impl Clone for HeapLimits
Source§fn clone(&self) -> HeapLimits
fn clone(&self) -> HeapLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeapLimits
Source§impl Debug for HeapLimits
impl Debug for HeapLimits
Source§impl Default for HeapLimits
impl Default for HeapLimits
Source§fn default() -> HeapLimits
fn default() -> HeapLimits
Returns the “default value” for a type. Read more
impl Eq for HeapLimits
Source§impl From<HeapLimits> for RuntimeOptions
impl From<HeapLimits> for RuntimeOptions
Source§fn from(heap: HeapLimits) -> RuntimeOptions
fn from(heap: HeapLimits) -> RuntimeOptions
Converts to this type from the input type.
Source§impl PartialEq for HeapLimits
impl PartialEq for HeapLimits
impl StructuralPartialEq for HeapLimits
Auto Trait Implementations§
impl Freeze for HeapLimits
impl RefUnwindSafe for HeapLimits
impl Send for HeapLimits
impl Sync for HeapLimits
impl Unpin for HeapLimits
impl UnsafeUnpin for HeapLimits
impl UnwindSafe for HeapLimits
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