#[non_exhaustive]#[repr(u32)]pub enum cudaSurfaceFormatMode {
cudaFormatModeForced = 0,
cudaFormatModeAuto = 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 cudaSurfaceFormatMode
impl Clone for cudaSurfaceFormatMode
source§fn clone(&self) -> cudaSurfaceFormatMode
fn clone(&self) -> cudaSurfaceFormatMode
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 cudaSurfaceFormatMode
impl Debug for cudaSurfaceFormatMode
source§impl Hash for cudaSurfaceFormatMode
impl Hash for cudaSurfaceFormatMode
source§impl PartialEq for cudaSurfaceFormatMode
impl PartialEq for cudaSurfaceFormatMode
source§fn eq(&self, other: &cudaSurfaceFormatMode) -> bool
fn eq(&self, other: &cudaSurfaceFormatMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaSurfaceFormatMode
impl Eq for cudaSurfaceFormatMode
impl StructuralPartialEq for cudaSurfaceFormatMode
Auto Trait Implementations§
impl RefUnwindSafe for cudaSurfaceFormatMode
impl Send for cudaSurfaceFormatMode
impl Sync for cudaSurfaceFormatMode
impl Unpin for cudaSurfaceFormatMode
impl UnwindSafe for cudaSurfaceFormatMode
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