Struct cudarc::driver::sys::CUaccessPolicyWindow_st
source · #[repr(C)]pub struct CUaccessPolicyWindow_st {
pub base_ptr: *mut c_void,
pub num_bytes: usize,
pub hitRatio: f32,
pub hitProp: CUaccessProperty,
pub missProp: CUaccessProperty,
}
Fields§
§base_ptr: *mut c_void
§num_bytes: usize
§hitRatio: f32
§hitProp: CUaccessProperty
§missProp: CUaccessProperty
Trait Implementations§
source§impl Clone for CUaccessPolicyWindow_st
impl Clone for CUaccessPolicyWindow_st
source§fn clone(&self) -> CUaccessPolicyWindow_st
fn clone(&self) -> CUaccessPolicyWindow_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 Debug for CUaccessPolicyWindow_st
impl Debug for CUaccessPolicyWindow_st
source§impl Default for CUaccessPolicyWindow_st
impl Default for CUaccessPolicyWindow_st
source§impl PartialEq<CUaccessPolicyWindow_st> for CUaccessPolicyWindow_st
impl PartialEq<CUaccessPolicyWindow_st> for CUaccessPolicyWindow_st
source§fn eq(&self, other: &CUaccessPolicyWindow_st) -> bool
fn eq(&self, other: &CUaccessPolicyWindow_st) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUaccessPolicyWindow_st> for CUaccessPolicyWindow_st
impl PartialOrd<CUaccessPolicyWindow_st> for CUaccessPolicyWindow_st
source§fn partial_cmp(&self, other: &CUaccessPolicyWindow_st) -> Option<Ordering>
fn partial_cmp(&self, other: &CUaccessPolicyWindow_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 CUaccessPolicyWindow_st
impl StructuralPartialEq for CUaccessPolicyWindow_st
Auto Trait Implementations§
impl RefUnwindSafe for CUaccessPolicyWindow_st
impl !Send for CUaccessPolicyWindow_st
impl !Sync for CUaccessPolicyWindow_st
impl Unpin for CUaccessPolicyWindow_st
impl UnwindSafe for CUaccessPolicyWindow_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