#[non_exhaustive]pub struct ProfilerResponse {
pub write_trace: bool,
}Expand description
What the profiler’s window did this frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.write_trace: bool“Write trace” was clicked: the caller writes
Profiler::trace_json to a file, and says where with
Profiler::set_note.
Trait Implementations§
Source§impl Clone for ProfilerResponse
impl Clone for ProfilerResponse
impl Copy for ProfilerResponse
Source§impl Debug for ProfilerResponse
impl Debug for ProfilerResponse
Source§impl Default for ProfilerResponse
impl Default for ProfilerResponse
impl Eq for ProfilerResponse
Source§impl PartialEq for ProfilerResponse
impl PartialEq for ProfilerResponse
impl StructuralPartialEq for ProfilerResponse
Auto Trait Implementations§
impl Forget for ProfilerResponse
impl Freeze for ProfilerResponse
impl Move for ProfilerResponse
impl RefUnwindSafe for ProfilerResponse
impl Send for ProfilerResponse
impl Sync for ProfilerResponse
impl Unpin for ProfilerResponse
impl UnsafeUnpin for ProfilerResponse
impl UnwindSafe for ProfilerResponse
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