Struct hip_sys::hiprt::hipExternalSemaphoreWaitParams_st
source · #[repr(C)]pub struct hipExternalSemaphoreWaitParams_st {
pub params: hipExternalSemaphoreWaitParams_st__bindgen_ty_1,
pub flags: u32,
pub reserved: [u32; 16],
}Expand description
External semaphore wait parameters, compatible with driver type
Fields§
§params: hipExternalSemaphoreWaitParams_st__bindgen_ty_1§flags: u32§reserved: [u32; 16]Trait Implementations§
source§impl Clone for hipExternalSemaphoreWaitParams_st
impl Clone for hipExternalSemaphoreWaitParams_st
source§fn clone(&self) -> hipExternalSemaphoreWaitParams_st
fn clone(&self) -> hipExternalSemaphoreWaitParams_st
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 hipExternalSemaphoreWaitParams_st
impl Default for hipExternalSemaphoreWaitParams_st
source§fn default() -> hipExternalSemaphoreWaitParams_st
fn default() -> hipExternalSemaphoreWaitParams_st
Returns the “default value” for a type. Read more
source§impl Ord for hipExternalSemaphoreWaitParams_st
impl Ord for hipExternalSemaphoreWaitParams_st
source§fn cmp(&self, other: &hipExternalSemaphoreWaitParams_st) -> Ordering
fn cmp(&self, other: &hipExternalSemaphoreWaitParams_st) -> 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<hipExternalSemaphoreWaitParams_st> for hipExternalSemaphoreWaitParams_st
impl PartialEq<hipExternalSemaphoreWaitParams_st> for hipExternalSemaphoreWaitParams_st
source§fn eq(&self, other: &hipExternalSemaphoreWaitParams_st) -> bool
fn eq(&self, other: &hipExternalSemaphoreWaitParams_st) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipExternalSemaphoreWaitParams_st> for hipExternalSemaphoreWaitParams_st
impl PartialOrd<hipExternalSemaphoreWaitParams_st> for hipExternalSemaphoreWaitParams_st
source§fn partial_cmp(
&self,
other: &hipExternalSemaphoreWaitParams_st
) -> Option<Ordering>
fn partial_cmp( &self, other: &hipExternalSemaphoreWaitParams_st ) -> 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 hipExternalSemaphoreWaitParams_st
impl Eq for hipExternalSemaphoreWaitParams_st
impl StructuralEq for hipExternalSemaphoreWaitParams_st
impl StructuralPartialEq for hipExternalSemaphoreWaitParams_st
Auto Trait Implementations§
impl RefUnwindSafe for hipExternalSemaphoreWaitParams_st
impl Send for hipExternalSemaphoreWaitParams_st
impl Sync for hipExternalSemaphoreWaitParams_st
impl Unpin for hipExternalSemaphoreWaitParams_st
impl UnwindSafe for hipExternalSemaphoreWaitParams_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