Struct hip_sys::hiprt::hipMemAllocationProp__bindgen_ty_1
source · #[repr(C)]pub struct hipMemAllocationProp__bindgen_ty_1 {
pub compressionType: u8,
pub gpuDirectRDMACapable: u8,
pub usage: u16,
}Fields§
§compressionType: u8< Compression type
gpuDirectRDMACapable: u8< RDMA capable
usage: u16< Usage
Trait Implementations§
source§impl Clone for hipMemAllocationProp__bindgen_ty_1
impl Clone for hipMemAllocationProp__bindgen_ty_1
source§fn clone(&self) -> hipMemAllocationProp__bindgen_ty_1
fn clone(&self) -> hipMemAllocationProp__bindgen_ty_1
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 Default for hipMemAllocationProp__bindgen_ty_1
impl Default for hipMemAllocationProp__bindgen_ty_1
source§fn default() -> hipMemAllocationProp__bindgen_ty_1
fn default() -> hipMemAllocationProp__bindgen_ty_1
Returns the “default value” for a type. Read more
source§impl Ord for hipMemAllocationProp__bindgen_ty_1
impl Ord for hipMemAllocationProp__bindgen_ty_1
source§fn cmp(&self, other: &hipMemAllocationProp__bindgen_ty_1) -> Ordering
fn cmp(&self, other: &hipMemAllocationProp__bindgen_ty_1) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<hipMemAllocationProp__bindgen_ty_1> for hipMemAllocationProp__bindgen_ty_1
impl PartialEq<hipMemAllocationProp__bindgen_ty_1> for hipMemAllocationProp__bindgen_ty_1
source§fn eq(&self, other: &hipMemAllocationProp__bindgen_ty_1) -> bool
fn eq(&self, other: &hipMemAllocationProp__bindgen_ty_1) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipMemAllocationProp__bindgen_ty_1> for hipMemAllocationProp__bindgen_ty_1
impl PartialOrd<hipMemAllocationProp__bindgen_ty_1> for hipMemAllocationProp__bindgen_ty_1
source§fn partial_cmp(
&self,
other: &hipMemAllocationProp__bindgen_ty_1
) -> Option<Ordering>
fn partial_cmp( &self, other: &hipMemAllocationProp__bindgen_ty_1 ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hipMemAllocationProp__bindgen_ty_1
impl Eq for hipMemAllocationProp__bindgen_ty_1
impl StructuralEq for hipMemAllocationProp__bindgen_ty_1
impl StructuralPartialEq for hipMemAllocationProp__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for hipMemAllocationProp__bindgen_ty_1
impl Send for hipMemAllocationProp__bindgen_ty_1
impl Sync for hipMemAllocationProp__bindgen_ty_1
impl Unpin for hipMemAllocationProp__bindgen_ty_1
impl UnwindSafe for hipMemAllocationProp__bindgen_ty_1
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