#[repr(transparent)]pub struct CUsurfObject(pub u64);Expand description
Handle to a CUDA surface object (modern bindless API).
cuda.h types this as unsigned long long, so it is modelled as a
u64 value rather than an opaque pointer.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for CUsurfObject
impl Clone for CUsurfObject
Source§fn clone(&self) -> CUsurfObject
fn clone(&self) -> CUsurfObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CUsurfObject
Source§impl Debug for CUsurfObject
impl Debug for CUsurfObject
Source§impl Default for CUsurfObject
impl Default for CUsurfObject
impl Eq for CUsurfObject
Source§impl Hash for CUsurfObject
impl Hash for CUsurfObject
Source§impl PartialEq for CUsurfObject
impl PartialEq for CUsurfObject
Source§fn eq(&self, other: &CUsurfObject) -> bool
fn eq(&self, other: &CUsurfObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CUsurfObject
Auto Trait Implementations§
impl Freeze for CUsurfObject
impl RefUnwindSafe for CUsurfObject
impl Send for CUsurfObject
impl Sync for CUsurfObject
impl Unpin for CUsurfObject
impl UnsafeUnpin for CUsurfObject
impl UnwindSafe for CUsurfObject
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