#[non_exhaustive]#[repr(u32)]pub enum cudaTextureReadMode {
cudaReadModeElementType = 0,
cudaReadModeNormalizedFloat = 1,
}
Expand description
CUDA texture read 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.
cudaReadModeElementType = 0
< Read texture as specified element type
cudaReadModeNormalizedFloat = 1
< 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