pub struct MemoryAllocationNodeParams<'a> {
pub pool_props: MemoryPoolProps,
pub access_descs: &'a [MemoryAccessDescriptor],
pub byte_size: usize,
}Expand description
Pool, access permissions, and byte count for a graph allocation node.
Fields§
§pool_props: MemoryPoolPropsProperties of the pool backing the graph allocation.
access_descs: &'a [MemoryAccessDescriptor]Locations and permissions that may access the allocation.
byte_size: usizeNumber of bytes allocated when the node executes.
Trait Implementations§
Source§impl<'a> Clone for MemoryAllocationNodeParams<'a>
impl<'a> Clone for MemoryAllocationNodeParams<'a>
Auto Trait Implementations§
impl<'a> Forget for MemoryAllocationNodeParams<'a>
impl<'a> Freeze for MemoryAllocationNodeParams<'a>
impl<'a> Move for MemoryAllocationNodeParams<'a>
impl<'a> RefUnwindSafe for MemoryAllocationNodeParams<'a>
impl<'a> Send for MemoryAllocationNodeParams<'a>
impl<'a> Sync for MemoryAllocationNodeParams<'a>
impl<'a> Unpin for MemoryAllocationNodeParams<'a>
impl<'a> UnsafeUnpin for MemoryAllocationNodeParams<'a>
impl<'a> UnwindSafe for MemoryAllocationNodeParams<'a>
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