Enum rustfmt_nightly::formatting::Timer [−][src]
enum Timer {
Disabled,
Initialized(Instant),
DoneParsing(Instant, Instant),
DoneFormatting(Instant, Instant, Instant),
}
Variants
Initialized(Instant)
Tuple Fields of Initialized
0: Instant
Implementations
Returns the time it took to parse the source files in seconds.
Returns the time it took to go from the parsed AST to the formatted output. Parsing time is not included.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Timer
impl UnwindSafe for Timer
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes
Size for each variant:
Disabled
: 0 bytesInitialized
: 16 bytesDoneParsing
: 32 bytesDoneFormatting
: 48 bytes