#[repr(transparent)]pub struct cudaSurfaceFormatMode(pub c_uint);
Expand description
CUDA Surface format modes
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaSurfaceFormatMode
impl cudaSurfaceFormatMode
Sourcepub const cudaFormatModeForced: cudaSurfaceFormatMode
pub const cudaFormatModeForced: cudaSurfaceFormatMode
< Forced format mode
Source§impl cudaSurfaceFormatMode
impl cudaSurfaceFormatMode
Sourcepub const cudaFormatModeAuto: cudaSurfaceFormatMode
pub const cudaFormatModeAuto: cudaSurfaceFormatMode
< Auto format mode
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 PartialEq for cudaSurfaceFormatMode
impl PartialEq 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