pub struct LoadCost {
pub read: Duration,
pub parse: Duration,
pub check: Duration,
pub files: usize,
pub modules: usize,
}Expand description
What loading and checking the rule package cost.
Fields§
§read: DurationReading every .cove file off disk.
parse: DurationParsing them.
check: DurationResolving and type-checking, which is where the schema is read.
files: usizeHow many files were loaded.
modules: usizeHow many modules they made.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadCost
impl RefUnwindSafe for LoadCost
impl Send for LoadCost
impl Sync for LoadCost
impl Unpin for LoadCost
impl UnsafeUnpin for LoadCost
impl UnwindSafe for LoadCost
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