#[non_exhaustive]#[repr(u32)]pub enum cudaTextureAddressMode {
cudaAddressModeWrap = 0,
cudaAddressModeClamp = 1,
cudaAddressModeMirror = 2,
cudaAddressModeBorder = 3,
}
Expand description
CUDA texture address 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.
cudaAddressModeWrap = 0
< Wrapping address mode
cudaAddressModeClamp = 1
< Clamp to edge address mode
cudaAddressModeMirror = 2
< Mirror address mode
cudaAddressModeBorder = 3
< Border address mode
Trait Implementations§
Source§impl Clone for cudaTextureAddressMode
impl Clone for cudaTextureAddressMode
Source§fn clone(&self) -> cudaTextureAddressMode
fn clone(&self) -> cudaTextureAddressMode
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 cudaTextureAddressMode
impl Debug for cudaTextureAddressMode
Source§impl Hash for cudaTextureAddressMode
impl Hash for cudaTextureAddressMode
Source§impl PartialEq for cudaTextureAddressMode
impl PartialEq for cudaTextureAddressMode
impl Copy for cudaTextureAddressMode
impl Eq for cudaTextureAddressMode
impl StructuralPartialEq for cudaTextureAddressMode
Auto Trait Implementations§
impl Freeze for cudaTextureAddressMode
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