Struct gpu_allocator::d3d12::Resource
source · pub struct Resource {
pub allocation: Option<Allocation>,
pub memory_location: MemoryLocation,
pub size: u64,
/* private fields */
}
Fields§
§allocation: Option<Allocation>
§memory_location: MemoryLocation
§size: u64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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