pub struct HeapsConfig {
pub linear: Option<LinearConfig>,
pub dynamic: Option<DynamicConfig>,
}
Expand description
Config for Heaps
allocator.
Fields§
§linear: Option<LinearConfig>
Config for linear sub-allocator.
dynamic: Option<DynamicConfig>
Config for dynamic sub-allocator.
Trait Implementations§
Source§impl Clone for HeapsConfig
impl Clone for HeapsConfig
Source§fn clone(&self) -> HeapsConfig
fn clone(&self) -> HeapsConfig
Returns a copy 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 Debug for HeapsConfig
impl Debug for HeapsConfig
impl Copy for HeapsConfig
Auto Trait Implementations§
impl Freeze for HeapsConfig
impl RefUnwindSafe for HeapsConfig
impl Send for HeapsConfig
impl Sync for HeapsConfig
impl Unpin for HeapsConfig
impl UnwindSafe for HeapsConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)