pub enum CudaType {
Float,
Double,
Int,
UnsignedInt,
LongLong,
UnsignedLongLong,
Bool,
Void,
Pointer {
inner: Box<CudaType>,
is_const: bool,
restrict: bool,
},
Struct(String),
}Expand description
CUDA type representation.
Variants§
Float
Scalar types.
Double
Int
UnsignedInt
LongLong
UnsignedLongLong
Bool
Void
Pointer
Pointer types.
Struct(String)
Custom struct type.
Implementations§
Trait Implementations§
impl StructuralPartialEq for CudaType
Auto Trait Implementations§
impl Freeze for CudaType
impl RefUnwindSafe for CudaType
impl Send for CudaType
impl Sync for CudaType
impl Unpin for CudaType
impl UnwindSafe for CudaType
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