pub struct DeviceMemoryManagerOptions {
pub base: DeviceMemoryManagerBase,
pub allocation_limit_bytes: Option<usize>,
}Expand description
Options applied when a device memory manager is first created.
Fields§
§base: DeviceMemoryManagerBasePhysical allocator selected when the process-local device manager is created.
allocation_limit_bytes: Option<usize>Immutable hard limit enforced by the process manager. None leaves the
selected physical base unpartitioned.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceMemoryManagerOptions
impl Clone for DeviceMemoryManagerOptions
impl Copy for DeviceMemoryManagerOptions
Source§impl Debug for DeviceMemoryManagerOptions
impl Debug for DeviceMemoryManagerOptions
Source§impl Default for DeviceMemoryManagerOptions
impl Default for DeviceMemoryManagerOptions
impl Eq for DeviceMemoryManagerOptions
impl StructuralPartialEq for DeviceMemoryManagerOptions
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerOptions
impl RefUnwindSafe for DeviceMemoryManagerOptions
impl Send for DeviceMemoryManagerOptions
impl Sync for DeviceMemoryManagerOptions
impl Unpin for DeviceMemoryManagerOptions
impl UnsafeUnpin for DeviceMemoryManagerOptions
impl UnwindSafe for DeviceMemoryManagerOptions
Blanket Implementations§
impl<T> Allocation for T
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.