Enum rcudnn_sys::cudaTextureAddressMode [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaTextureAddressMode {
cudaAddressModeWrap,
cudaAddressModeClamp,
cudaAddressModeMirror,
cudaAddressModeBorder,
}
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
< Wrapping address mode
cudaAddressModeClamp
< Clamp to edge address mode
cudaAddressModeMirror
< Mirror address mode
cudaAddressModeBorder
< Border address mode
Trait Implementations
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
Mutably borrows from an owned value. Read more