Enum rcublas::api::PointerMode
source · pub enum PointerMode {
Host,
Device,
}
Variants§
Implementations§
source§impl PointerMode
impl PointerMode
pub fn from_c(in_mode: cublasPointerMode_t) -> PointerMode
pub fn as_c(self) -> cublasPointerMode_t
Trait Implementations§
source§impl Clone for PointerMode
impl Clone for PointerMode
source§fn clone(&self) -> PointerMode
fn clone(&self) -> PointerMode
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 PointerMode
impl Debug for PointerMode
source§impl PartialEq for PointerMode
impl PartialEq for PointerMode
source§fn eq(&self, other: &PointerMode) -> bool
fn eq(&self, other: &PointerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PointerMode
impl StructuralPartialEq for PointerMode
Auto Trait Implementations§
impl RefUnwindSafe for PointerMode
impl Send for PointerMode
impl Sync for PointerMode
impl Unpin for PointerMode
impl UnwindSafe for PointerMode
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