Enum hip_sys::hiprt::hipGraphicsRegisterFlags
source · #[non_exhaustive]#[repr(u32)]pub enum hipGraphicsRegisterFlags {
hipGraphicsRegisterFlagsNone,
hipGraphicsRegisterFlagsReadOnly,
hipGraphicsRegisterFlagsWriteDiscard,
hipGraphicsRegisterFlagsSurfaceLoadStore,
hipGraphicsRegisterFlagsTextureGather,
}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.
hipGraphicsRegisterFlagsNone
hipGraphicsRegisterFlagsReadOnly
< HIP will not write to this registered resource
hipGraphicsRegisterFlagsWriteDiscard
hipGraphicsRegisterFlagsSurfaceLoadStore
< HIP will bind this resource to a surface
hipGraphicsRegisterFlagsTextureGather
Trait Implementations§
source§impl Clone for hipGraphicsRegisterFlags
impl Clone for hipGraphicsRegisterFlags
source§fn clone(&self) -> hipGraphicsRegisterFlags
fn clone(&self) -> hipGraphicsRegisterFlags
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 hipGraphicsRegisterFlags
impl Debug for hipGraphicsRegisterFlags
source§impl Hash for hipGraphicsRegisterFlags
impl Hash for hipGraphicsRegisterFlags
source§impl Ord for hipGraphicsRegisterFlags
impl Ord for hipGraphicsRegisterFlags
source§fn cmp(&self, other: &hipGraphicsRegisterFlags) -> Ordering
fn cmp(&self, other: &hipGraphicsRegisterFlags) -> 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<hipGraphicsRegisterFlags> for hipGraphicsRegisterFlags
impl PartialEq<hipGraphicsRegisterFlags> for hipGraphicsRegisterFlags
source§fn eq(&self, other: &hipGraphicsRegisterFlags) -> bool
fn eq(&self, other: &hipGraphicsRegisterFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipGraphicsRegisterFlags> for hipGraphicsRegisterFlags
impl PartialOrd<hipGraphicsRegisterFlags> for hipGraphicsRegisterFlags
source§fn partial_cmp(&self, other: &hipGraphicsRegisterFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &hipGraphicsRegisterFlags) -> 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 hipGraphicsRegisterFlags
impl Eq for hipGraphicsRegisterFlags
impl StructuralEq for hipGraphicsRegisterFlags
impl StructuralPartialEq for hipGraphicsRegisterFlags
Auto Trait Implementations§
impl RefUnwindSafe for hipGraphicsRegisterFlags
impl Send for hipGraphicsRegisterFlags
impl Sync for hipGraphicsRegisterFlags
impl Unpin for hipGraphicsRegisterFlags
impl UnwindSafe for hipGraphicsRegisterFlags
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