Enum hip_sys::hiprt::hipTextureReadMode
source · #[non_exhaustive]#[repr(u32)]pub enum hipTextureReadMode {
hipReadModeElementType,
hipReadModeNormalizedFloat,
}Expand description
hip texture read modes
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for hipTextureReadMode
impl Clone for hipTextureReadMode
source§fn clone(&self) -> hipTextureReadMode
fn clone(&self) -> hipTextureReadMode
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 hipTextureReadMode
impl Debug for hipTextureReadMode
source§impl Hash for hipTextureReadMode
impl Hash for hipTextureReadMode
source§impl Ord for hipTextureReadMode
impl Ord for hipTextureReadMode
source§fn cmp(&self, other: &hipTextureReadMode) -> Ordering
fn cmp(&self, other: &hipTextureReadMode) -> 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<hipTextureReadMode> for hipTextureReadMode
impl PartialEq<hipTextureReadMode> for hipTextureReadMode
source§fn eq(&self, other: &hipTextureReadMode) -> bool
fn eq(&self, other: &hipTextureReadMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipTextureReadMode> for hipTextureReadMode
impl PartialOrd<hipTextureReadMode> for hipTextureReadMode
source§fn partial_cmp(&self, other: &hipTextureReadMode) -> Option<Ordering>
fn partial_cmp(&self, other: &hipTextureReadMode) -> 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 hipTextureReadMode
impl Eq for hipTextureReadMode
impl StructuralEq for hipTextureReadMode
impl StructuralPartialEq for hipTextureReadMode
Auto Trait Implementations§
impl RefUnwindSafe for hipTextureReadMode
impl Send for hipTextureReadMode
impl Sync for hipTextureReadMode
impl Unpin for hipTextureReadMode
impl UnwindSafe for hipTextureReadMode
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