#[non_exhaustive]#[repr(u32)]pub enum cudaChannelFormatKind {
cudaChannelFormatKindSigned = 0,
cudaChannelFormatKindUnsigned = 1,
cudaChannelFormatKindFloat = 2,
cudaChannelFormatKindNone = 3,
cudaChannelFormatKindNV12 = 4,
}
Expand description
Channel format kind
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.
cudaChannelFormatKindSigned = 0
< Signed channel format
cudaChannelFormatKindUnsigned = 1
< Unsigned channel format
cudaChannelFormatKindFloat = 2
< Float channel format
cudaChannelFormatKindNone = 3
< No channel format
cudaChannelFormatKindNV12 = 4
Trait Implementations§
Source§impl Clone for cudaChannelFormatKind
impl Clone for cudaChannelFormatKind
Source§fn clone(&self) -> cudaChannelFormatKind
fn clone(&self) -> cudaChannelFormatKind
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 cudaChannelFormatKind
impl Debug for cudaChannelFormatKind
Source§impl Hash for cudaChannelFormatKind
impl Hash for cudaChannelFormatKind
Source§impl PartialEq for cudaChannelFormatKind
impl PartialEq for cudaChannelFormatKind
impl Copy for cudaChannelFormatKind
impl Eq for cudaChannelFormatKind
impl StructuralPartialEq for cudaChannelFormatKind
Auto Trait Implementations§
impl Freeze for cudaChannelFormatKind
impl RefUnwindSafe for cudaChannelFormatKind
impl Send for cudaChannelFormatKind
impl Sync for cudaChannelFormatKind
impl Unpin for cudaChannelFormatKind
impl UnwindSafe for cudaChannelFormatKind
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