pub struct TsEdgeCounts {
pub import: usize,
pub call: usize,
pub jsx_use: usize,
pub dispatch: usize,
}Expand description
The four TS edge kinds’ counts, appended to stats.edges_by_kind in this
order and only when the repo carries a TS fragment at all.
Fields§
§import: usizeThe import value.
call: usizeThe call value.
jsx_use: usizeThe jsx use value.
dispatch: usizeThe dispatch value.
Trait Implementations§
Source§impl Clone for TsEdgeCounts
impl Clone for TsEdgeCounts
Source§fn clone(&self) -> TsEdgeCounts
fn clone(&self) -> TsEdgeCounts
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 moreSource§impl Debug for TsEdgeCounts
impl Debug for TsEdgeCounts
Source§impl Default for TsEdgeCounts
impl Default for TsEdgeCounts
Source§fn default() -> TsEdgeCounts
fn default() -> TsEdgeCounts
Returns the “default value” for a type. Read more
Source§impl PartialEq for TsEdgeCounts
impl PartialEq for TsEdgeCounts
impl StructuralPartialEq for TsEdgeCounts
Auto Trait Implementations§
impl Freeze for TsEdgeCounts
impl RefUnwindSafe for TsEdgeCounts
impl Send for TsEdgeCounts
impl Sync for TsEdgeCounts
impl Unpin for TsEdgeCounts
impl UnsafeUnpin for TsEdgeCounts
impl UnwindSafe for TsEdgeCounts
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more