#[non_exhaustive]#[repr(u32)]pub enum cudaSurfaceBoundaryMode {
cudaBoundaryModeZero = 0,
cudaBoundaryModeClamp = 1,
cudaBoundaryModeTrap = 2,
}
Expand description
CUDA 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.
cudaBoundaryModeZero = 0
< Zero boundary mode
cudaBoundaryModeClamp = 1
< Clamp boundary mode
cudaBoundaryModeTrap = 2
< Trap boundary mode
Trait Implementations§
Source§impl Clone for cudaSurfaceBoundaryMode
impl Clone for cudaSurfaceBoundaryMode
Source§fn clone(&self) -> cudaSurfaceBoundaryMode
fn clone(&self) -> cudaSurfaceBoundaryMode
Returns a duplicate 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 cudaSurfaceBoundaryMode
impl Debug for cudaSurfaceBoundaryMode
Source§impl Hash for cudaSurfaceBoundaryMode
impl Hash for cudaSurfaceBoundaryMode
Source§impl PartialEq for cudaSurfaceBoundaryMode
impl PartialEq for cudaSurfaceBoundaryMode
impl Copy for cudaSurfaceBoundaryMode
impl Eq for cudaSurfaceBoundaryMode
impl StructuralPartialEq for cudaSurfaceBoundaryMode
Auto Trait Implementations§
impl Freeze for cudaSurfaceBoundaryMode
impl RefUnwindSafe for cudaSurfaceBoundaryMode
impl Send for cudaSurfaceBoundaryMode
impl Sync for cudaSurfaceBoundaryMode
impl Unpin for cudaSurfaceBoundaryMode
impl UnwindSafe for cudaSurfaceBoundaryMode
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