pub struct StructuralSourceUnit {
pub path: String,
pub source: String,
pub representation: String,
pub revision: String,
pub content: String,
pub handle: String,
pub representation_reason: String,
}Expand description
One structural-source unit: semantic skeleton of an implementation slice (Level 2), with provenance back to the exact source.
Fields§
§path: String§source: Stringsource: <path>:L<start>-L<end> provenance line.
representation: String§revision: String§content: String§handle: StringStable content handle for lazy exact-source retrieval. Empty when the compiler has no repo/epoch identity.
representation_reason: StringWhy EXACT vs STRUCTURAL/SIGNATURES was chosen. Empty when no on-disk body was available to compare.
Trait Implementations§
Source§impl Clone for StructuralSourceUnit
impl Clone for StructuralSourceUnit
Source§impl Debug for StructuralSourceUnit
impl Debug for StructuralSourceUnit
Source§impl<'de> Deserialize<'de> for StructuralSourceUnit
impl<'de> Deserialize<'de> for StructuralSourceUnit
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 StructuralSourceUnit
impl PartialEq for StructuralSourceUnit
Source§impl Serialize for StructuralSourceUnit
impl Serialize for StructuralSourceUnit
impl StructuralPartialEq for StructuralSourceUnit
Auto Trait Implementations§
impl Freeze for StructuralSourceUnit
impl RefUnwindSafe for StructuralSourceUnit
impl Send for StructuralSourceUnit
impl Sync for StructuralSourceUnit
impl Unpin for StructuralSourceUnit
impl UnsafeUnpin for StructuralSourceUnit
impl UnwindSafe for StructuralSourceUnit
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