pub struct ResolvedXref {
pub kind: &'static str,
pub refid: Option<String>,
pub refuri: Option<String>,
pub title: Option<String>,
pub reftitle: Option<String>,
pub inner: Inner,
}Expand description
The reference node a successful resolution builds.
Fields§
§kind: &'static strreference, or number_reference for a resolved :numref:.
refid: Option<String>§refuri: Option<String>§title: Option<String>number_reference['title']: the format, not the rendered text.
reftitle: Option<String>reference['reftitle']: the hover title make_refnode stamps for
py targets (the matched fullname, or the module title). std’s
resolvers never pass one.
inner: InnerTrait Implementations§
Source§impl Debug for ResolvedXref
impl Debug for ResolvedXref
Source§impl PartialEq for ResolvedXref
impl PartialEq for ResolvedXref
impl StructuralPartialEq for ResolvedXref
Auto Trait Implementations§
impl Freeze for ResolvedXref
impl RefUnwindSafe for ResolvedXref
impl Send for ResolvedXref
impl Sync for ResolvedXref
impl Unpin for ResolvedXref
impl UnsafeUnpin for ResolvedXref
impl UnwindSafe for ResolvedXref
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> 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