pub enum PathReg<'a> {
PlainLink(PlainLink<'a>),
Id(&'a str),
CustomId(&'a str),
Coderef(&'a str),
File(Cow<'a, str>),
Unspecified(Cow<'a, str>),
}
Expand description
Enum representing various file types
Variants§
PlainLink(PlainLink<'a>)
Id(&'a str)
CustomId(&'a str)
allows changing the name of the exported id
Coderef(&'a str)
allows linking to specific lines in code blocks
File(Cow<'a, str>)
Unspecified(Cow<'a, str>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PathReg<'a>
impl<'a> RefUnwindSafe for PathReg<'a>
impl<'a> Send for PathReg<'a>
impl<'a> Sync for PathReg<'a>
impl<'a> Unpin for PathReg<'a>
impl<'a> UnwindSafe for PathReg<'a>
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