pub struct MemoryPoolProps {
pub alloc_type: MemoryAllocationType,
pub handle_type: MemoryAllocationHandleType,
pub location: MemoryLocation,
pub max_size: usize,
pub usage: u16,
}Fields§
§alloc_type: MemoryAllocationType§handle_type: MemoryAllocationHandleType§location: MemoryLocation§max_size: usize§usage: u16Trait Implementations§
Source§impl Clone for MemoryPoolProps
impl Clone for MemoryPoolProps
Source§fn clone(&self) -> MemoryPoolProps
fn clone(&self) -> MemoryPoolProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryPoolProps
Source§impl Debug for MemoryPoolProps
impl Debug for MemoryPoolProps
impl Eq for MemoryPoolProps
Source§impl From<MemoryPoolProps> for CUmemPoolProps
impl From<MemoryPoolProps> for CUmemPoolProps
Source§fn from(value: MemoryPoolProps) -> Self
fn from(value: MemoryPoolProps) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryPoolProps
impl Hash for MemoryPoolProps
Source§impl PartialEq for MemoryPoolProps
impl PartialEq for MemoryPoolProps
Source§fn eq(&self, other: &MemoryPoolProps) -> bool
fn eq(&self, other: &MemoryPoolProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryPoolProps
Auto Trait Implementations§
impl Freeze for MemoryPoolProps
impl RefUnwindSafe for MemoryPoolProps
impl Send for MemoryPoolProps
impl Sync for MemoryPoolProps
impl Unpin for MemoryPoolProps
impl UnsafeUnpin for MemoryPoolProps
impl UnwindSafe for MemoryPoolProps
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