#[repr(C)]pub struct AccessPolicyWindow {
pub base_ptr: *mut c_void,
pub num_bytes: usize,
pub hit_ratio: f32,
pub hit_prop: i32,
pub miss_prop: i32,
}Expand description
CUaccessPolicyWindow — describes an L2-persistence hint attached
to a launch via the ACCESS_POLICY_WINDOW attribute.
Fields§
§base_ptr: *mut c_void§num_bytes: usize§hit_ratio: f32§hit_prop: i32§miss_prop: i32Trait Implementations§
Source§impl Clone for CUaccessPolicyWindow
impl Clone for CUaccessPolicyWindow
Source§fn clone(&self) -> CUaccessPolicyWindow
fn clone(&self) -> CUaccessPolicyWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Debug for CUaccessPolicyWindow
Source§impl Default for CUaccessPolicyWindow
impl Default for CUaccessPolicyWindow
Source§fn default() -> CUaccessPolicyWindow
fn default() -> CUaccessPolicyWindow
Returns the “default value” for a type. Read more
impl Copy for CUaccessPolicyWindow
Auto Trait Implementations§
impl Freeze for CUaccessPolicyWindow
impl RefUnwindSafe for CUaccessPolicyWindow
impl !Send for CUaccessPolicyWindow
impl !Sync for CUaccessPolicyWindow
impl Unpin for CUaccessPolicyWindow
impl UnsafeUnpin for CUaccessPolicyWindow
impl UnwindSafe for CUaccessPolicyWindow
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