Struct cudarc::curand::result::CurandError
source · pub struct CurandError(pub curandStatus_t);
Expand description
Wrapper around sys::curandStatus_t. See cuRAND docs
Tuple Fields§
§0: curandStatus_t
Trait Implementations§
source§impl Clone for CurandError
impl Clone for CurandError
source§fn clone(&self) -> CurandError
fn clone(&self) -> CurandError
Returns a copy 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 CurandError
impl Debug for CurandError
source§impl Display for CurandError
impl Display for CurandError
source§impl Error for CurandError
impl Error for CurandError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<CurandError> for CurandError
impl PartialEq<CurandError> for CurandError
source§fn eq(&self, other: &CurandError) -> bool
fn eq(&self, other: &CurandError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CurandError
impl Eq for CurandError
impl StructuralEq for CurandError
impl StructuralPartialEq for CurandError
Auto Trait Implementations§
impl RefUnwindSafe for CurandError
impl Send for CurandError
impl Sync for CurandError
impl Unpin for CurandError
impl UnwindSafe for CurandError
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