#[repr(C)]pub struct CUmemLocation_st {
pub type_: CUmemLocationType,
pub id: c_int,
}
Expand description
Specifies a memory location.
Fields§
§type_: CUmemLocationType
< Specifies the location type, which modifies the meaning of id.
id: c_int
< identifier for a given this location’s ::CUmemLocationType.
Trait Implementations§
Source§impl Clone for CUmemLocation_st
impl Clone for CUmemLocation_st
Source§fn clone(&self) -> CUmemLocation_st
fn clone(&self) -> CUmemLocation_st
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 CUmemLocation_st
impl Debug for CUmemLocation_st
impl Copy for CUmemLocation_st
Auto Trait Implementations§
impl Freeze for CUmemLocation_st
impl RefUnwindSafe for CUmemLocation_st
impl Send for CUmemLocation_st
impl Sync for CUmemLocation_st
impl Unpin for CUmemLocation_st
impl UnwindSafe for CUmemLocation_st
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