#[repr(transparent)]pub struct Perfsel(pub u32);
Expand description
Bus fabric performance event select for PERFCTR0
Tuple Fields§
§0: u32
Implementations§
source§impl Perfsel
impl Perfsel
sourcepub const fn perfsel(&self) -> Perfsel
pub const fn perfsel(&self) -> Perfsel
Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.
sourcepub fn set_perfsel(&mut self, val: Perfsel)
pub fn set_perfsel(&mut self, val: Perfsel)
Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.
Trait Implementations§
impl Copy for Perfsel
impl Eq for Perfsel
impl StructuralPartialEq for Perfsel
Auto Trait Implementations§
impl Freeze for Perfsel
impl RefUnwindSafe for Perfsel
impl Send for Perfsel
impl Sync for Perfsel
impl Unpin for Perfsel
impl UnwindSafe for Perfsel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)