pub struct MiMallocOpts { /* private fields */ }Implementations§
Source§impl MiMallocOpts
impl MiMallocOpts
pub const fn new() -> MiMallocOpts
pub const fn builder() -> MiMallocOpts
pub const fn set_os_alloc(&mut self, mem_alloc: usize) -> &MiMallocOpts
pub const fn set_huge_alloc(&mut self, mem_alloc: usize) -> &MiMallocOpts
pub const fn set_arena_alloc(&mut self, mem_alloc: usize) -> &MiMallocOpts
pub const fn enable_huge_pages(&mut self) -> &MiMallocOpts
pub const fn enable_large_pages(&mut self) -> &MiMallocOpts
pub fn apply(&self) -> &MiMallocOpts
pub fn enable_debug(&self) -> &MiMallocOpts
Trait Implementations§
Source§impl Default for MiMallocOpts
Available on crate feature fast_allocator_options only.
impl Default for MiMallocOpts
Available on crate feature
fast_allocator_options only.Source§fn default() -> MiMallocOpts
fn default() -> MiMallocOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MiMallocOpts
impl RefUnwindSafe for MiMallocOpts
impl Send for MiMallocOpts
impl Sync for MiMallocOpts
impl Unpin for MiMallocOpts
impl UnsafeUnpin for MiMallocOpts
impl UnwindSafe for MiMallocOpts
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