#[non_exhaustive]#[repr(u32)]pub enum cudaTextureAddressMode {
cudaAddressModeWrap = 0,
cudaAddressModeClamp = 1,
cudaAddressModeMirror = 2,
cudaAddressModeBorder = 3,
}
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.
cudaAddressModeWrap = 0
cudaAddressModeClamp = 1
cudaAddressModeMirror = 2
cudaAddressModeBorder = 3
Trait Implementations§
source§impl Clone for cudaTextureAddressMode
impl Clone for cudaTextureAddressMode
source§fn clone(&self) -> cudaTextureAddressMode
fn clone(&self) -> cudaTextureAddressMode
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 cudaTextureAddressMode
impl Debug for cudaTextureAddressMode
source§impl Hash for cudaTextureAddressMode
impl Hash for cudaTextureAddressMode
source§impl PartialEq for cudaTextureAddressMode
impl PartialEq for cudaTextureAddressMode
source§fn eq(&self, other: &cudaTextureAddressMode) -> bool
fn eq(&self, other: &cudaTextureAddressMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaTextureAddressMode
impl Eq for cudaTextureAddressMode
impl StructuralPartialEq for cudaTextureAddressMode
Auto Trait Implementations§
impl RefUnwindSafe for cudaTextureAddressMode
impl Send for cudaTextureAddressMode
impl Sync for cudaTextureAddressMode
impl Unpin for cudaTextureAddressMode
impl UnwindSafe for cudaTextureAddressMode
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