#[non_exhaustive]#[repr(u32)]pub enum cudaGraphicsCubeFace {
cudaGraphicsCubeFacePositiveX = 0,
cudaGraphicsCubeFaceNegativeX = 1,
cudaGraphicsCubeFacePositiveY = 2,
cudaGraphicsCubeFaceNegativeY = 3,
cudaGraphicsCubeFacePositiveZ = 4,
cudaGraphicsCubeFaceNegativeZ = 5,
}Expand description
CUDA graphics interop array indices for cube maps
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
< Positive X face of cubemap
cudaGraphicsCubeFaceNegativeX = 1
< Negative X face of cubemap
cudaGraphicsCubeFacePositiveY = 2
< Positive Y face of cubemap
cudaGraphicsCubeFaceNegativeY = 3
< Negative Y face of cubemap
cudaGraphicsCubeFacePositiveZ = 4
< Positive Z face of cubemap
cudaGraphicsCubeFaceNegativeZ = 5
< Negative Z face of cubemap
Trait Implementations§
Source§impl Clone for cudaGraphicsCubeFace
impl Clone for cudaGraphicsCubeFace
Source§fn clone(&self) -> cudaGraphicsCubeFace
fn clone(&self) -> cudaGraphicsCubeFace
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 cudaGraphicsCubeFace
impl Debug for cudaGraphicsCubeFace
Source§impl Hash for cudaGraphicsCubeFace
impl Hash for cudaGraphicsCubeFace
Source§impl PartialEq for cudaGraphicsCubeFace
impl PartialEq for cudaGraphicsCubeFace
impl Copy for cudaGraphicsCubeFace
impl Eq for cudaGraphicsCubeFace
impl StructuralPartialEq for cudaGraphicsCubeFace
Auto Trait Implementations§
impl Freeze for cudaGraphicsCubeFace
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