pub struct AllocatorDescriptor {
pub block_size: u8,
}Expand description
Describes the configuration of an Allocator.
Fields§
§block_size: u8The size of the blocks that are allocated. Defined as log2(size in bytes). Default: 64 MiB.
Trait Implementations§
Source§impl Clone for AllocatorDescriptor
impl Clone for AllocatorDescriptor
Source§fn clone(&self) -> AllocatorDescriptor
fn clone(&self) -> AllocatorDescriptor
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 Debug for AllocatorDescriptor
impl Debug for AllocatorDescriptor
Auto Trait Implementations§
impl Freeze for AllocatorDescriptor
impl RefUnwindSafe for AllocatorDescriptor
impl Send for AllocatorDescriptor
impl Sync for AllocatorDescriptor
impl Unpin for AllocatorDescriptor
impl UnwindSafe for AllocatorDescriptor
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