[][src]Trait extended_pulldown::MakeStatic

pub trait MakeStatic {
    type AsStatic;
    fn into_static(self) -> Self::AsStatic;
}

Make a markdown event static; i.e. no longer pinned to the lifetime of the str used to produce it

Associated Types

type AsStatic

This type should simply be the original type with a static lifetime, but has to be represented in this way to work around language limitations

Loading content...

Required methods

fn into_static(self) -> Self::AsStatic

transform this event

Loading content...

Implementations on Foreign Types

impl<'a> MakeStatic for PulldownTag<'a>[src]

type AsStatic = PulldownTag<'static>

impl<'_> MakeStatic for PulldownEvent<'_>[src]

type AsStatic = PulldownEvent<'static>

Loading content...

Implementors

impl<'_> MakeStatic for CodeBlockKind<'_>[src]

type AsStatic = CodeBlockKind<'static>

impl<'_> MakeStatic for CowStr<'_>[src]

type AsStatic = CowStr<'static>

impl<'_> MakeStatic for Event<'_>[src]

type AsStatic = Event<'static>

impl<'_> MakeStatic for Tag<'_>[src]

type AsStatic = Tag<'static>

Loading content...