pub struct ShapeRecord {
pub label: String,
pub invocations: u64,
pub total_us: u64,
}Expand description
Per-shape or per-rule wall-clock record. One entry per distinct label
(shape IRI, @N slot id, or rule[N]).
Fields§
§label: StringShape IRI (named shapes), @N arena slot (blank-node shapes), or
rule[N] (inference rules).
invocations: u64Number of evaluation calls (one per focus node for validation, one per rule firing for inference).
total_us: u64Total wall-clock time across all invocations, in microseconds.
Trait Implementations§
Source§impl Clone for ShapeRecord
impl Clone for ShapeRecord
Source§fn clone(&self) -> ShapeRecord
fn clone(&self) -> ShapeRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShapeRecord
impl RefUnwindSafe for ShapeRecord
impl Send for ShapeRecord
impl Sync for ShapeRecord
impl Unpin for ShapeRecord
impl UnsafeUnpin for ShapeRecord
impl UnwindSafe for ShapeRecord
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