Enum hip_sys::hiprt::hipSurfaceBoundaryMode
source · #[non_exhaustive]#[repr(u32)]pub enum hipSurfaceBoundaryMode {
hipBoundaryModeZero,
hipBoundaryModeTrap,
hipBoundaryModeClamp,
}Expand description
hip surface boundary 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 hipSurfaceBoundaryMode
impl Clone for hipSurfaceBoundaryMode
source§fn clone(&self) -> hipSurfaceBoundaryMode
fn clone(&self) -> hipSurfaceBoundaryMode
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 hipSurfaceBoundaryMode
impl Debug for hipSurfaceBoundaryMode
source§impl Hash for hipSurfaceBoundaryMode
impl Hash for hipSurfaceBoundaryMode
source§impl Ord for hipSurfaceBoundaryMode
impl Ord for hipSurfaceBoundaryMode
source§fn cmp(&self, other: &hipSurfaceBoundaryMode) -> Ordering
fn cmp(&self, other: &hipSurfaceBoundaryMode) -> 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<hipSurfaceBoundaryMode> for hipSurfaceBoundaryMode
impl PartialEq<hipSurfaceBoundaryMode> for hipSurfaceBoundaryMode
source§fn eq(&self, other: &hipSurfaceBoundaryMode) -> bool
fn eq(&self, other: &hipSurfaceBoundaryMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipSurfaceBoundaryMode> for hipSurfaceBoundaryMode
impl PartialOrd<hipSurfaceBoundaryMode> for hipSurfaceBoundaryMode
source§fn partial_cmp(&self, other: &hipSurfaceBoundaryMode) -> Option<Ordering>
fn partial_cmp(&self, other: &hipSurfaceBoundaryMode) -> 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 hipSurfaceBoundaryMode
impl Eq for hipSurfaceBoundaryMode
impl StructuralEq for hipSurfaceBoundaryMode
impl StructuralPartialEq for hipSurfaceBoundaryMode
Auto Trait Implementations§
impl RefUnwindSafe for hipSurfaceBoundaryMode
impl Send for hipSurfaceBoundaryMode
impl Sync for hipSurfaceBoundaryMode
impl Unpin for hipSurfaceBoundaryMode
impl UnwindSafe for hipSurfaceBoundaryMode
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