#[repr(C)]pub struct hipResourceViewDesc {
pub format: hipResourceViewFormat,
pub width: usize,
pub height: usize,
pub depth: usize,
pub firstMipmapLevel: c_uint,
pub lastMipmapLevel: c_uint,
pub firstLayer: c_uint,
pub lastLayer: c_uint,
}
Expand description
hip resource view descriptor
Fields§
§format: hipResourceViewFormat
§width: usize
§height: usize
§depth: usize
§firstMipmapLevel: c_uint
§lastMipmapLevel: c_uint
§firstLayer: c_uint
§lastLayer: c_uint
Trait Implementations§
Source§impl Clone for hipResourceViewDesc
impl Clone for hipResourceViewDesc
Source§fn clone(&self) -> hipResourceViewDesc
fn clone(&self) -> hipResourceViewDesc
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 moreSource§impl Debug for hipResourceViewDesc
impl Debug for hipResourceViewDesc
impl Copy for hipResourceViewDesc
Auto Trait Implementations§
impl Freeze for hipResourceViewDesc
impl RefUnwindSafe for hipResourceViewDesc
impl Send for hipResourceViewDesc
impl Sync for hipResourceViewDesc
impl Unpin for hipResourceViewDesc
impl UnwindSafe for hipResourceViewDesc
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