#[repr(C)]pub struct ResourceAttachBacking {
pub header: CtrlHeader,
pub resource_id: u32,
pub num_entries: u32,
}
Expand description
Command structure to attach backing pages to a GPU resource. This header is followed by a
number of BackingMemoryEntry
structures.
Fields§
§header: CtrlHeader
§resource_id: u32
§num_entries: u32
Trait Implementations§
Source§impl Clone for ResourceAttachBacking
impl Clone for ResourceAttachBacking
Source§fn clone(&self) -> ResourceAttachBacking
fn clone(&self) -> ResourceAttachBacking
Returns a copy 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 ResourceAttachBacking
impl RefUnwindSafe for ResourceAttachBacking
impl Send for ResourceAttachBacking
impl Sync for ResourceAttachBacking
impl Unpin for ResourceAttachBacking
impl UnwindSafe for ResourceAttachBacking
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