pub struct MarkupRef {
pub kind: String,
pub name: String,
pub qualified: Option<String>,
pub member: Option<String>,
pub line: usize,
}Expand description
One markup-contributed ref in the shape the C# extractor emits, so
resolve_graph needs no markup branch: qualified is Some only when the
source text was dotted (the ladder’s exact-qualified step keys off exactly
that), name is the tail segment, and the ref SITE’s namespace is always
empty – markup has no enclosing namespace of its own.
Fields§
§kind: StringThe kind value.
name: StringThe name value.
qualified: Option<String>The qualified value.
member: Option<String>The member value.
line: usizeThe line value.
Trait Implementations§
impl StructuralPartialEq for MarkupRef
Auto Trait Implementations§
impl Freeze for MarkupRef
impl RefUnwindSafe for MarkupRef
impl Send for MarkupRef
impl Sync for MarkupRef
impl Unpin for MarkupRef
impl UnsafeUnpin for MarkupRef
impl UnwindSafe for MarkupRef
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