Enum rcudnn_sys::cudaGraphicsCubeFace
source · #[non_exhaustive]#[repr(u32)]pub enum cudaGraphicsCubeFace {
cudaGraphicsCubeFacePositiveX = 0,
cudaGraphicsCubeFaceNegativeX = 1,
cudaGraphicsCubeFacePositiveY = 2,
cudaGraphicsCubeFaceNegativeY = 3,
cudaGraphicsCubeFacePositiveZ = 4,
cudaGraphicsCubeFaceNegativeZ = 5,
}
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.
cudaGraphicsCubeFacePositiveX = 0
cudaGraphicsCubeFaceNegativeX = 1
cudaGraphicsCubeFacePositiveY = 2
cudaGraphicsCubeFaceNegativeY = 3
cudaGraphicsCubeFacePositiveZ = 4
cudaGraphicsCubeFaceNegativeZ = 5
Trait Implementations§
source§impl Clone for cudaGraphicsCubeFace
impl Clone for cudaGraphicsCubeFace
source§fn clone(&self) -> cudaGraphicsCubeFace
fn clone(&self) -> cudaGraphicsCubeFace
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 cudaGraphicsCubeFace
impl Debug for cudaGraphicsCubeFace
source§impl Hash for cudaGraphicsCubeFace
impl Hash for cudaGraphicsCubeFace
source§impl PartialEq for cudaGraphicsCubeFace
impl PartialEq for cudaGraphicsCubeFace
source§fn eq(&self, other: &cudaGraphicsCubeFace) -> bool
fn eq(&self, other: &cudaGraphicsCubeFace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaGraphicsCubeFace
impl Eq for cudaGraphicsCubeFace
impl StructuralPartialEq for cudaGraphicsCubeFace
Auto Trait Implementations§
impl RefUnwindSafe for cudaGraphicsCubeFace
impl Send for cudaGraphicsCubeFace
impl Sync for cudaGraphicsCubeFace
impl Unpin for cudaGraphicsCubeFace
impl UnwindSafe for cudaGraphicsCubeFace
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