#[repr(u32)]pub enum hipMemLocationType {
hipMemLocationTypeInvalid = 0,
hipMemLocationTypeDevice = 1,
}Expand description
@brief Specifies the type of location @enum @ingroup Enumerations
Variants§
hipMemLocationTypeInvalid = 0
hipMemLocationTypeDevice = 1
< Device location, thus it’s HIP device ID
Trait Implementations§
Source§impl Clone for hipMemLocationType
impl Clone for hipMemLocationType
Source§fn clone(&self) -> hipMemLocationType
fn clone(&self) -> hipMemLocationType
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 hipMemLocationType
impl Debug for hipMemLocationType
Source§impl Hash for hipMemLocationType
impl Hash for hipMemLocationType
Source§impl PartialEq for hipMemLocationType
impl PartialEq for hipMemLocationType
impl Copy for hipMemLocationType
impl Eq for hipMemLocationType
impl StructuralPartialEq for hipMemLocationType
Auto Trait Implementations§
impl Freeze for hipMemLocationType
impl RefUnwindSafe for hipMemLocationType
impl Send for hipMemLocationType
impl Sync for hipMemLocationType
impl Unpin for hipMemLocationType
impl UnwindSafe for hipMemLocationType
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