pub struct RefEntry {
pub id: String,
pub reftext: Option<String>,
pub ref_type: RefType,
pub signifier: Option<XrefSignifier>,
}Expand description
Entry in the document catalog representing a referenceable element.
Fields§
§id: StringThe unique identifier for this element.
reftext: Option<String>Reference text for this element (explicit or computed).
ref_type: RefTypeType of referenceable element.
signifier: Option<XrefSignifier>The signifier and number used to build full/short
xrefstyle cross-reference text for this
target. Present only for a numbered section or captioned block that has
no explicit reftext; None for every other element (plain anchors,
bibliography entries, unnumbered sections, and targets carrying an
explicit reftext, for which xrefstyle formatting does not apply).
Trait Implementations§
impl Eq for RefEntry
impl StructuralPartialEq for RefEntry
Auto Trait Implementations§
impl Freeze for RefEntry
impl RefUnwindSafe for RefEntry
impl Send for RefEntry
impl Sync for RefEntry
impl Unpin for RefEntry
impl UnsafeUnpin for RefEntry
impl UnwindSafe for RefEntry
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