Struct hip_sys::hiprt::HIP_ARRAY_DESCRIPTOR
source · #[repr(C)]pub struct HIP_ARRAY_DESCRIPTOR {
pub Width: usize,
pub Height: usize,
pub Format: hipArray_Format,
pub NumChannels: u32,
}Fields§
§Width: usize§Height: usize§Format: hipArray_Format§NumChannels: u32Trait Implementations§
source§impl Clone for HIP_ARRAY_DESCRIPTOR
impl Clone for HIP_ARRAY_DESCRIPTOR
source§fn clone(&self) -> HIP_ARRAY_DESCRIPTOR
fn clone(&self) -> HIP_ARRAY_DESCRIPTOR
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 HIP_ARRAY_DESCRIPTOR
impl Debug for HIP_ARRAY_DESCRIPTOR
source§impl Default for HIP_ARRAY_DESCRIPTOR
impl Default for HIP_ARRAY_DESCRIPTOR
source§fn default() -> HIP_ARRAY_DESCRIPTOR
fn default() -> HIP_ARRAY_DESCRIPTOR
Returns the “default value” for a type. Read more
source§impl Hash for HIP_ARRAY_DESCRIPTOR
impl Hash for HIP_ARRAY_DESCRIPTOR
source§impl Ord for HIP_ARRAY_DESCRIPTOR
impl Ord for HIP_ARRAY_DESCRIPTOR
source§fn cmp(&self, other: &HIP_ARRAY_DESCRIPTOR) -> Ordering
fn cmp(&self, other: &HIP_ARRAY_DESCRIPTOR) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HIP_ARRAY_DESCRIPTOR> for HIP_ARRAY_DESCRIPTOR
impl PartialEq<HIP_ARRAY_DESCRIPTOR> for HIP_ARRAY_DESCRIPTOR
source§fn eq(&self, other: &HIP_ARRAY_DESCRIPTOR) -> bool
fn eq(&self, other: &HIP_ARRAY_DESCRIPTOR) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HIP_ARRAY_DESCRIPTOR> for HIP_ARRAY_DESCRIPTOR
impl PartialOrd<HIP_ARRAY_DESCRIPTOR> for HIP_ARRAY_DESCRIPTOR
source§fn partial_cmp(&self, other: &HIP_ARRAY_DESCRIPTOR) -> Option<Ordering>
fn partial_cmp(&self, other: &HIP_ARRAY_DESCRIPTOR) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for HIP_ARRAY_DESCRIPTOR
impl Eq for HIP_ARRAY_DESCRIPTOR
impl StructuralEq for HIP_ARRAY_DESCRIPTOR
impl StructuralPartialEq for HIP_ARRAY_DESCRIPTOR
Auto Trait Implementations§
impl RefUnwindSafe for HIP_ARRAY_DESCRIPTOR
impl Send for HIP_ARRAY_DESCRIPTOR
impl Sync for HIP_ARRAY_DESCRIPTOR
impl Unpin for HIP_ARRAY_DESCRIPTOR
impl UnwindSafe for HIP_ARRAY_DESCRIPTOR
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