#[repr(transparent)]pub struct cudaTextureAddressMode(pub c_uint);Expand description
CUDA texture address modes.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaTextureAddressMode
impl cudaTextureAddressMode
Sourcepub const cudaAddressModeWrap: cudaTextureAddressMode
pub const cudaAddressModeWrap: cudaTextureAddressMode
Wrapping address mode.
Sourcepub const cudaAddressModeClamp: cudaTextureAddressMode
pub const cudaAddressModeClamp: cudaTextureAddressMode
Clamp to edge address mode.
Sourcepub const cudaAddressModeMirror: cudaTextureAddressMode
pub const cudaAddressModeMirror: cudaTextureAddressMode
Mirror address mode.
Sourcepub const cudaAddressModeBorder: cudaTextureAddressMode
pub const cudaAddressModeBorder: cudaTextureAddressMode
Border address mode.
Trait Implementations§
Source§impl Clone for cudaTextureAddressMode
impl Clone for cudaTextureAddressMode
impl Copy for cudaTextureAddressMode
Source§impl Debug for cudaTextureAddressMode
impl Debug for cudaTextureAddressMode
impl Eq for cudaTextureAddressMode
Source§impl Hash for cudaTextureAddressMode
impl Hash for cudaTextureAddressMode
Source§impl Ord for cudaTextureAddressMode
impl Ord for cudaTextureAddressMode
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for cudaTextureAddressMode
impl PartialEq for cudaTextureAddressMode
Source§impl PartialOrd for cudaTextureAddressMode
impl PartialOrd for cudaTextureAddressMode
impl StructuralPartialEq for cudaTextureAddressMode
Auto Trait Implementations§
impl Forget for cudaTextureAddressMode
impl Freeze for cudaTextureAddressMode
impl Move for cudaTextureAddressMode
impl RefUnwindSafe for cudaTextureAddressMode
impl Send for cudaTextureAddressMode
impl Sync for cudaTextureAddressMode
impl Unpin for cudaTextureAddressMode
impl UnsafeUnpin 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