pub struct UsageWrapper {
pub file: String,
pub export: String,
pub shape: WrapperShape,
pub line: u32,
pub consumer_file_count: usize,
pub call_site_count: usize,
}Expand description
A top-level exported declarator that wraps an imported name. The trace follows one hop from the wrapper to its consumers.
Fields§
§file: StringThe file that declares the wrapper, root-relative.
export: StringThe exported name of the wrapper.
shape: WrapperShapeThe shape of the wrapper.
line: u321-based line of the wrapper initializer.
consumer_file_count: usizeDistinct files with a call of the wrapper, the file of the wrapper included.
call_site_count: usizeCalls of the wrapper itself. A call of a member of the value that a
call wrapper returns (store.dispatch()) is a non_call_reference.
Trait Implementations§
Source§impl Clone for UsageWrapper
impl Clone for UsageWrapper
Source§impl Debug for UsageWrapper
impl Debug for UsageWrapper
impl Eq for UsageWrapper
Source§impl PartialEq for UsageWrapper
impl PartialEq for UsageWrapper
Source§impl Serialize for UsageWrapper
impl Serialize for UsageWrapper
impl StructuralPartialEq for UsageWrapper
Auto Trait Implementations§
impl Freeze for UsageWrapper
impl RefUnwindSafe for UsageWrapper
impl Send for UsageWrapper
impl Sync for UsageWrapper
impl Unpin for UsageWrapper
impl UnsafeUnpin for UsageWrapper
impl UnwindSafe for UsageWrapper
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.