struct McpCompactRelationOccurrence<'a> {
file: &'a RepositoryFilePath,
span: SourceSpan,
generation: IndexGeneration,
}Expand description
Compact source occurrence without another copy of the owning relation key.
Fields§
§file: &'a RepositoryFilePathRepository-local file containing the evidence.
span: SourceSpanExact supporting source range.
generation: IndexGenerationComplete generation containing the occurrence.
Trait Implementations§
Source§impl<'a> Debug for McpCompactRelationOccurrence<'a>
impl<'a> Debug for McpCompactRelationOccurrence<'a>
Source§impl<'a> From<&'a RelationOccurrence> for McpCompactRelationOccurrence<'a>
impl<'a> From<&'a RelationOccurrence> for McpCompactRelationOccurrence<'a>
Source§fn from(occurrence: &'a RelationOccurrence) -> Self
fn from(occurrence: &'a RelationOccurrence) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for McpCompactRelationOccurrence<'a>
impl<'a> RefUnwindSafe for McpCompactRelationOccurrence<'a>
impl<'a> Send for McpCompactRelationOccurrence<'a>
impl<'a> Sync for McpCompactRelationOccurrence<'a>
impl<'a> Unpin for McpCompactRelationOccurrence<'a>
impl<'a> UnwindSafe for McpCompactRelationOccurrence<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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