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