pub struct SourceMapStats {
pub total_entries: usize,
pub definitions: usize,
pub references: usize,
pub tactics: usize,
pub comments: usize,
pub operators: usize,
}Expand description
Statistics about a source map.
Fields§
§total_entries: usizeTotal number of entries.
definitions: usizeNumber of definition entries.
references: usizeNumber of reference entries.
tactics: usizeNumber of tactic entries.
comments: usizeNumber of comment entries.
operators: usizeNumber of operator entries.
Implementations§
Source§impl SourceMapStats
impl SourceMapStats
Sourcepub fn from_entries(entries: &[SourceEntry]) -> Self
pub fn from_entries(entries: &[SourceEntry]) -> Self
Compute stats from a list of source entries.
Trait Implementations§
Source§impl Clone for SourceMapStats
impl Clone for SourceMapStats
Source§fn clone(&self) -> SourceMapStats
fn clone(&self) -> SourceMapStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceMapStats
impl Debug for SourceMapStats
Source§impl Default for SourceMapStats
impl Default for SourceMapStats
Source§fn default() -> SourceMapStats
fn default() -> SourceMapStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourceMapStats
impl RefUnwindSafe for SourceMapStats
impl Send for SourceMapStats
impl Sync for SourceMapStats
impl Unpin for SourceMapStats
impl UnsafeUnpin for SourceMapStats
impl UnwindSafe for SourceMapStats
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