Struct hip_sys::hiprt::hipMemPoolProps
source · #[repr(C)]pub struct hipMemPoolProps {
pub allocType: hipMemAllocationType,
pub handleTypes: hipMemAllocationHandleType,
pub location: hipMemLocation,
pub win32SecurityAttributes: *mut c_void,
pub reserved: [u8; 64],
}Expand description
Specifies the properties of allocations made from the pool.
Fields§
§allocType: hipMemAllocationType< Allocation type. Currently must be specified as @p hipMemAllocationTypePinned
handleTypes: hipMemAllocationHandleType< Handle types that will be supported by allocations from the pool
location: hipMemLocation< Location where allocations should reside
win32SecurityAttributes: *mut c_voidWindows-specific LPSECURITYATTRIBUTES required when @p hipMemHandleTypeWin32 is specified
reserved: [u8; 64]< Reserved for future use, must be 0
Trait Implementations§
source§impl Clone for hipMemPoolProps
impl Clone for hipMemPoolProps
source§fn clone(&self) -> hipMemPoolProps
fn clone(&self) -> hipMemPoolProps
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 hipMemPoolProps
impl Debug for hipMemPoolProps
source§impl Default for hipMemPoolProps
impl Default for hipMemPoolProps
source§fn default() -> hipMemPoolProps
fn default() -> hipMemPoolProps
Returns the “default value” for a type. Read more
source§impl Hash for hipMemPoolProps
impl Hash for hipMemPoolProps
source§impl Ord for hipMemPoolProps
impl Ord for hipMemPoolProps
source§fn cmp(&self, other: &hipMemPoolProps) -> Ordering
fn cmp(&self, other: &hipMemPoolProps) -> 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<hipMemPoolProps> for hipMemPoolProps
impl PartialEq<hipMemPoolProps> for hipMemPoolProps
source§fn eq(&self, other: &hipMemPoolProps) -> bool
fn eq(&self, other: &hipMemPoolProps) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipMemPoolProps> for hipMemPoolProps
impl PartialOrd<hipMemPoolProps> for hipMemPoolProps
source§fn partial_cmp(&self, other: &hipMemPoolProps) -> Option<Ordering>
fn partial_cmp(&self, other: &hipMemPoolProps) -> 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 hipMemPoolProps
impl Eq for hipMemPoolProps
impl StructuralEq for hipMemPoolProps
impl StructuralPartialEq for hipMemPoolProps
Auto Trait Implementations§
impl RefUnwindSafe for hipMemPoolProps
impl !Send for hipMemPoolProps
impl !Sync for hipMemPoolProps
impl Unpin for hipMemPoolProps
impl UnwindSafe for hipMemPoolProps
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