#[non_exhaustive]pub struct RunReport { /* private fields */ }Expand description
What the report says, and where else it writes the start: off until a game makes one.
Implementations§
Source§impl RunReport
impl RunReport
Sourcepub const fn new() -> Self
pub const fn new() -> Self
The report in the console only: the running lines every 60 seconds, the 10 slowest reads, no draw phases.
Sourcepub fn file(self, path: &str) -> Self
pub fn file(self, path: &str) -> Self
Writes the start’s lines and every read to path in the game’s data
folder too, once the first frame is shown: the Simulator has no
console to read.
Sourcepub const fn every_seconds(self, seconds: u32) -> Self
pub const fn every_seconds(self, seconds: u32) -> Self
Logs the running lines every seconds (at least 1).
Trait Implementations§
impl Eq for RunReport
impl StructuralPartialEq for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReport
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