#[repr(u32)]pub enum cudaChannelFormatKind {
cudaChannelFormatKindSigned = 0,
cudaChannelFormatKindUnsigned = 1,
cudaChannelFormatKindFloat = 2,
cudaChannelFormatKindNone = 3,
}
Variants§
cudaChannelFormatKindSigned = 0
cudaChannelFormatKindUnsigned = 1
cudaChannelFormatKindFloat = 2
cudaChannelFormatKindNone = 3
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 Ord for cudaChannelFormatKind
impl Ord for cudaChannelFormatKind
Source§fn cmp(&self, other: &cudaChannelFormatKind) -> Ordering
fn cmp(&self, other: &cudaChannelFormatKind) -> Ordering
1.21.0 · 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
Source§impl PartialEq for cudaChannelFormatKind
impl PartialEq for cudaChannelFormatKind
Source§impl PartialOrd for cudaChannelFormatKind
impl PartialOrd 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