Enum org_rust_parser::object::PathReg
source · pub enum PathReg<'a> {
PlainLink(PlainLink<'a>),
Id(&'a str),
CustomId(&'a str),
Coderef(&'a str),
File(&'a str),
Unspecified(&'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(&'a str)
Unspecified(&'a str)
Trait Implementations§
impl<'a> Copy for PathReg<'a>
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