Struct pulldown_cmark_toc::GitHubSlugifier
source · pub struct GitHubSlugifier { /* private fields */ }
Expand description
A slugifier that attempts to mimic GitHub’s behavior.
Unfortunately GitHub’s behavior is not documented anywhere by GitHub. This should really be part of the GitHub Flavored Markdown Spec but alas it’s not. And there also does not appear to be a public issue tracker for the spec where that issue could be raised.
Trait Implementations§
source§impl Default for GitHubSlugifier
impl Default for GitHubSlugifier
source§fn default() -> GitHubSlugifier
fn default() -> GitHubSlugifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitHubSlugifier
impl RefUnwindSafe for GitHubSlugifier
impl Send for GitHubSlugifier
impl Sync for GitHubSlugifier
impl Unpin for GitHubSlugifier
impl UnwindSafe for GitHubSlugifier
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