pub struct HipResource {
pub ptr: hipDeviceptr_t,
pub binding: Binding,
pub offset: u64,
pub size: u64,
}Expand description
The memory resource that can be allocated for the device.
Fields§
§ptr: hipDeviceptr_tThe buffer.
binding: Binding§offset: u64§size: u64Implementations§
Source§impl HipResource
impl HipResource
Trait Implementations§
Source§impl Debug for HipResource
impl Debug for HipResource
impl Send for HipResource
Auto Trait Implementations§
impl Freeze for HipResource
impl RefUnwindSafe for HipResource
impl !Sync for HipResource
impl Unpin for HipResource
impl UnwindSafe for HipResource
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