pub struct MemoryDeviceProperties {
pub max_page_size: u64,
pub alignment: u64,
}
Expand description
Properties of the device related to allocation.
Fields§
§max_page_size: u64
The maximum nr. of bytes that can be allocated in one go.
alignment: u64
The required memory offset alignment in bytes.
Trait Implementations§
Source§impl Clone for MemoryDeviceProperties
impl Clone for MemoryDeviceProperties
Source§fn clone(&self) -> MemoryDeviceProperties
fn clone(&self) -> MemoryDeviceProperties
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 moreAuto Trait Implementations§
impl Freeze for MemoryDeviceProperties
impl RefUnwindSafe for MemoryDeviceProperties
impl Send for MemoryDeviceProperties
impl Sync for MemoryDeviceProperties
impl Unpin for MemoryDeviceProperties
impl UnwindSafe for MemoryDeviceProperties
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