Struct hip_sys::hiprt::hipHostNodeParams
source · #[repr(C)]pub struct hipHostNodeParams {
pub fn_: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub userData: *mut c_void,
}Fields§
§fn_: Option<unsafe extern "C" fn(_: *mut c_void)>§userData: *mut c_voidTrait Implementations§
source§impl Clone for hipHostNodeParams
impl Clone for hipHostNodeParams
source§fn clone(&self) -> hipHostNodeParams
fn clone(&self) -> hipHostNodeParams
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 hipHostNodeParams
impl Debug for hipHostNodeParams
source§impl Default for hipHostNodeParams
impl Default for hipHostNodeParams
source§fn default() -> hipHostNodeParams
fn default() -> hipHostNodeParams
Returns the “default value” for a type. Read more
source§impl Hash for hipHostNodeParams
impl Hash for hipHostNodeParams
source§impl Ord for hipHostNodeParams
impl Ord for hipHostNodeParams
source§fn cmp(&self, other: &hipHostNodeParams) -> Ordering
fn cmp(&self, other: &hipHostNodeParams) -> 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<hipHostNodeParams> for hipHostNodeParams
impl PartialEq<hipHostNodeParams> for hipHostNodeParams
source§fn eq(&self, other: &hipHostNodeParams) -> bool
fn eq(&self, other: &hipHostNodeParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipHostNodeParams> for hipHostNodeParams
impl PartialOrd<hipHostNodeParams> for hipHostNodeParams
source§fn partial_cmp(&self, other: &hipHostNodeParams) -> Option<Ordering>
fn partial_cmp(&self, other: &hipHostNodeParams) -> 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 hipHostNodeParams
impl Eq for hipHostNodeParams
impl StructuralEq for hipHostNodeParams
impl StructuralPartialEq for hipHostNodeParams
Auto Trait Implementations§
impl RefUnwindSafe for hipHostNodeParams
impl !Send for hipHostNodeParams
impl !Sync for hipHostNodeParams
impl Unpin for hipHostNodeParams
impl UnwindSafe for hipHostNodeParams
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