#[repr(u32)]pub enum cudaSurfaceFormatMode {
cudaFormatModeForced = 0,
cudaFormatModeAuto = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for cudaSurfaceFormatMode
impl Clone for cudaSurfaceFormatMode
Source§fn clone(&self) -> cudaSurfaceFormatMode
fn clone(&self) -> cudaSurfaceFormatMode
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 cudaSurfaceFormatMode
impl Debug for cudaSurfaceFormatMode
Source§impl Hash for cudaSurfaceFormatMode
impl Hash for cudaSurfaceFormatMode
Source§impl Ord for cudaSurfaceFormatMode
impl Ord for cudaSurfaceFormatMode
Source§fn cmp(&self, other: &cudaSurfaceFormatMode) -> Ordering
fn cmp(&self, other: &cudaSurfaceFormatMode) -> 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 cudaSurfaceFormatMode
impl PartialEq for cudaSurfaceFormatMode
Source§impl PartialOrd for cudaSurfaceFormatMode
impl PartialOrd for cudaSurfaceFormatMode
impl Copy for cudaSurfaceFormatMode
impl Eq for cudaSurfaceFormatMode
impl StructuralPartialEq for cudaSurfaceFormatMode
Auto Trait Implementations§
impl Freeze for cudaSurfaceFormatMode
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