pub enum RefType {
Anchor,
Section,
Bibliography,
}Expand description
Type of referenceable element in the document.
Variants§
Anchor
Standard anchor element ([[id]] or [[id,reftext]]).
Section
Section heading that can be referenced.
Bibliography
Bibliography reference ([[[id]]] or [[[id,reftext]]]).
Trait Implementations§
impl Eq for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
impl Freeze for RefType
impl RefUnwindSafe for RefType
impl Send for RefType
impl Sync for RefType
impl Unpin for RefType
impl UnwindSafe for RefType
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