pub struct EdgesByKind {
pub inherits: usize,
pub uses_type: usize,
pub imports: usize,
pub uses_member: usize,
pub ctor_di: usize,
pub implements: usize,
pub overrides: usize,
pub import: Option<usize>,
pub call: Option<usize>,
pub jsx_use: Option<usize>,
pub dispatch: Option<usize>,
}Expand description
Represents EdgesByKind.
Fields§
§inherits: usizeThe inherits value.
uses_type: usizeThe uses type value.
imports: usizeThe imports value.
uses_member: usizeThe uses member value.
ctor_di: usizeAppended LAST, matching the ctor-di slot in the fixed key order.
implements: usizeThe type-level and member-level implements edges, counted
together – appended after ctor-di, before the optional TS keys.
overrides: usizeThe member-level overrides edges, appended right after
implements, same rule.
import: Option<usize>The four TS edge counts, appended after overrides in this exact order
and ONLY when the repo carries a TS fragment at all. A C#-only repo’s
stats block omits them entirely – which is why these are Option and
not a plain 0.
call: Option<usize>The call value.
jsx_use: Option<usize>The jsx use value.
dispatch: Option<usize>The dispatch value.
Trait Implementations§
Source§impl Clone for EdgesByKind
impl Clone for EdgesByKind
Source§impl Debug for EdgesByKind
impl Debug for EdgesByKind
Source§impl Default for EdgesByKind
impl Default for EdgesByKind
Source§impl<'de> Deserialize<'de> for EdgesByKind
impl<'de> Deserialize<'de> for EdgesByKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EdgesByKind
impl PartialEq for EdgesByKind
Source§impl Serialize for EdgesByKind
impl Serialize for EdgesByKind
impl StructuralPartialEq for EdgesByKind
Auto Trait Implementations§
impl Freeze for EdgesByKind
impl RefUnwindSafe for EdgesByKind
impl Send for EdgesByKind
impl Sync for EdgesByKind
impl Unpin for EdgesByKind
impl UnsafeUnpin for EdgesByKind
impl UnwindSafe for EdgesByKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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