#[repr(transparent)]pub struct cudaTextureReadMode(pub c_uint);Expand description
CUDA texture read modes.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaTextureReadMode
impl cudaTextureReadMode
Sourcepub const cudaReadModeElementType: cudaTextureReadMode
pub const cudaReadModeElementType: cudaTextureReadMode
Read texture as specified element type.
Sourcepub const cudaReadModeNormalizedFloat: cudaTextureReadMode
pub const cudaReadModeNormalizedFloat: cudaTextureReadMode
Read texture as normalized float.
Trait Implementations§
Source§impl Clone for cudaTextureReadMode
impl Clone for cudaTextureReadMode
impl Copy for cudaTextureReadMode
Source§impl Debug for cudaTextureReadMode
impl Debug for cudaTextureReadMode
impl Eq for cudaTextureReadMode
Source§impl Hash for cudaTextureReadMode
impl Hash for cudaTextureReadMode
Source§impl Ord for cudaTextureReadMode
impl Ord for cudaTextureReadMode
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 cudaTextureReadMode
impl PartialEq for cudaTextureReadMode
Source§impl PartialOrd for cudaTextureReadMode
impl PartialOrd for cudaTextureReadMode
impl StructuralPartialEq for cudaTextureReadMode
Auto Trait Implementations§
impl Forget for cudaTextureReadMode
impl Freeze for cudaTextureReadMode
impl Move for cudaTextureReadMode
impl RefUnwindSafe for cudaTextureReadMode
impl Send for cudaTextureReadMode
impl Sync for cudaTextureReadMode
impl Unpin for cudaTextureReadMode
impl UnsafeUnpin for cudaTextureReadMode
impl UnwindSafe for cudaTextureReadMode
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