pub struct GitHubExpander;Expand description
GitHub permalink expander.
Trait Implementations§
Source§impl LinkExpander for GitHubExpander
impl LinkExpander for GitHubExpander
Source§fn expand_all<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cx: &'life1 ExpandContext<'life2>,
) -> Pin<Box<dyn Future<Output = Vec<ExpandedContent>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn expand_all<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cx: &'life1 ExpandContext<'life2>,
) -> Pin<Box<dyn Future<Output = Vec<ExpandedContent>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Expands GitHub permalinks into code blocks.
Source§fn enabled(&self, config: &BabyriteConfig) -> bool
fn enabled(&self, config: &BabyriteConfig) -> bool
Whether this expander is enabled under
config.Auto Trait Implementations§
impl Freeze for GitHubExpander
impl RefUnwindSafe for GitHubExpander
impl Send for GitHubExpander
impl Sync for GitHubExpander
impl Unpin for GitHubExpander
impl UnsafeUnpin for GitHubExpander
impl UnwindSafe for GitHubExpander
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