pub struct CrossVariantMember {
pub id: CrossVariantMemberId,
pub origin_variant: String,
pub language: Language,
pub file_path: String,
pub start_line: u32,
pub end_line: u32,
pub name: Option<String>,
pub token_count: usize,
}Expand description
A member of a cross-build-variant exact clone group.
Fields§
§id: CrossVariantMemberIdStable occurrence identity; source anchors are reporting only.
origin_variant: StringThe normal partition that produced this member; never synthesized.
language: LanguageLanguage of the source unit.
file_path: StringReporting anchor relative to the scanned root.
start_line: u32Reporting anchor, 1-based.
end_line: u32Reporting anchor, 1-based.
name: Option<String>Best-effort unit name.
token_count: usizeToken count of the matched unit.
Trait Implementations§
Source§impl Clone for CrossVariantMember
impl Clone for CrossVariantMember
Source§fn clone(&self) -> CrossVariantMember
fn clone(&self) -> CrossVariantMember
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 CrossVariantMember
impl Debug for CrossVariantMember
impl Eq for CrossVariantMember
Source§impl PartialEq for CrossVariantMember
impl PartialEq for CrossVariantMember
impl StructuralPartialEq for CrossVariantMember
Auto Trait Implementations§
impl Freeze for CrossVariantMember
impl RefUnwindSafe for CrossVariantMember
impl Send for CrossVariantMember
impl Sync for CrossVariantMember
impl Unpin for CrossVariantMember
impl UnsafeUnpin for CrossVariantMember
impl UnwindSafe for CrossVariantMember
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.