Struct hip_sys::hiprt::hipChannelFormatDesc
source · #[repr(C)]pub struct hipChannelFormatDesc {
pub x: i32,
pub y: i32,
pub z: i32,
pub w: i32,
pub f: hipChannelFormatKind,
}Fields§
§x: i32§y: i32§z: i32§w: i32§f: hipChannelFormatKindTrait Implementations§
source§impl Clone for hipChannelFormatDesc
impl Clone for hipChannelFormatDesc
source§fn clone(&self) -> hipChannelFormatDesc
fn clone(&self) -> hipChannelFormatDesc
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 hipChannelFormatDesc
impl Debug for hipChannelFormatDesc
source§impl Default for hipChannelFormatDesc
impl Default for hipChannelFormatDesc
source§fn default() -> hipChannelFormatDesc
fn default() -> hipChannelFormatDesc
Returns the “default value” for a type. Read more
source§impl Hash for hipChannelFormatDesc
impl Hash for hipChannelFormatDesc
source§impl Ord for hipChannelFormatDesc
impl Ord for hipChannelFormatDesc
source§fn cmp(&self, other: &hipChannelFormatDesc) -> Ordering
fn cmp(&self, other: &hipChannelFormatDesc) -> 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<hipChannelFormatDesc> for hipChannelFormatDesc
impl PartialEq<hipChannelFormatDesc> for hipChannelFormatDesc
source§fn eq(&self, other: &hipChannelFormatDesc) -> bool
fn eq(&self, other: &hipChannelFormatDesc) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipChannelFormatDesc> for hipChannelFormatDesc
impl PartialOrd<hipChannelFormatDesc> for hipChannelFormatDesc
source§fn partial_cmp(&self, other: &hipChannelFormatDesc) -> Option<Ordering>
fn partial_cmp(&self, other: &hipChannelFormatDesc) -> 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 hipChannelFormatDesc
impl Eq for hipChannelFormatDesc
impl StructuralEq for hipChannelFormatDesc
impl StructuralPartialEq for hipChannelFormatDesc
Auto Trait Implementations§
impl RefUnwindSafe for hipChannelFormatDesc
impl Send for hipChannelFormatDesc
impl Sync for hipChannelFormatDesc
impl Unpin for hipChannelFormatDesc
impl UnwindSafe for hipChannelFormatDesc
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