pub struct PushPerfTable<Prev: Rec> { /* private fields */ }Available on crate feature
dev-energymodel only.Implementations§
Source§impl<Prev: Rec> PushPerfTable<Prev>
impl<Prev: Rec> PushPerfTable<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_perf_domain_id(self, value: u32) -> Self
pub fn push_perf_domain_id(self, value: u32) -> Self
A unique ID number for each performance domain.
Sourcepub fn nested_perf_state(self) -> PushPerfState<Self>
pub fn nested_perf_state(self) -> PushPerfState<Self>
Attribute may repeat multiple times (treat it as array)
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushPerfTable<Prev>
impl<Prev: Rec> Drop for PushPerfTable<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushPerfTable<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushPerfTable<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushPerfTable<Prev>where
Prev: Send,
impl<Prev> Sync for PushPerfTable<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushPerfTable<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushPerfTable<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushPerfTable<Prev>where
Prev: UnwindSafe,
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