pub struct FrameCollector { /* private fields */ }Implementations§
Source§impl FrameCollector
impl FrameCollector
pub fn new(capacity: usize) -> Self
pub fn record(&mut self, sample: FrameSample)
pub fn snapshot(&self) -> FrameDiagnosticsSnapshot
pub fn query(&self, query: DiagnosticsQuery) -> Vec<FrameSample>
Auto Trait Implementations§
impl Forget for FrameCollector
impl Freeze for FrameCollector
impl Move for FrameCollector
impl RefUnwindSafe for FrameCollector
impl Send for FrameCollector
impl Sync for FrameCollector
impl Unpin for FrameCollector
impl UnsafeUnpin for FrameCollector
impl UnwindSafe for FrameCollector
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