pub struct ReadModel {
pub refs: RefsModel,
pub span: Option<ReadSpan>,
}Expand description
The resolved read result for one symbol: everything refs answers,
plus the declaration span when one is on record. span is None for a
def with no recorded end (TS defs, a graph written before end lines were
extracted) and never faked from a start line alone.
Fields§
§refs: RefsModelThe refs value.
span: Option<ReadSpan>The span value.
Trait Implementations§
impl StructuralPartialEq for ReadModel
Auto Trait Implementations§
impl Freeze for ReadModel
impl RefUnwindSafe for ReadModel
impl Send for ReadModel
impl Sync for ReadModel
impl Unpin for ReadModel
impl UnsafeUnpin for ReadModel
impl UnwindSafe for ReadModel
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