Enum rcudnn_sys::cudaTextureReadMode
source · #[non_exhaustive]#[repr(u32)]pub enum cudaTextureReadMode {
cudaReadModeElementType = 0,
cudaReadModeNormalizedFloat = 1,
}
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.
Trait Implementations§
source§impl Clone for cudaTextureReadMode
impl Clone for cudaTextureReadMode
source§fn clone(&self) -> cudaTextureReadMode
fn clone(&self) -> cudaTextureReadMode
Returns a copy 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
source§fn eq(&self, other: &cudaTextureReadMode) -> bool
fn eq(&self, other: &cudaTextureReadMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaTextureReadMode
impl Eq for cudaTextureReadMode
impl StructuralPartialEq for cudaTextureReadMode
Auto Trait Implementations§
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