pub struct MarkdownImageAltText;Expand description
finds a vec of words (including punctuation) created from the alt text of a markdown image: “”
Trait Implementations§
Source§impl<'a> Parser<&'a str, Vec<&'a str>, ()> for MarkdownImageAltText
impl<'a> Parser<&'a str, Vec<&'a str>, ()> for MarkdownImageAltText
Source§fn parse(&mut self, input: &'a str) -> Result<(&'a str, Vec<&'a str>), Err<()>>
fn parse(&mut self, input: &'a str) -> Result<(&'a str, Vec<&'a str>), Err<()>>
A parser takes in input type, and returns a
Result containing
either the remaining input and the output value, or an errorSource§fn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O>
fn flat_map<G, H, O2>(self, g: G) -> FlatMap<Self, G, O>
Creates a second parser from the output of the first one, then apply over the rest of the input
Source§fn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O>
fn and_then<G, O2>(self, g: G) -> AndThen<Self, G, O>
Applies a second parser over the output of the first one
Source§fn and<G, O2>(self, g: G) -> And<Self, G>
fn and<G, O2>(self, g: G) -> And<Self, G>
Applies a second parser after the first one, return their results as a tuple
Auto Trait Implementations§
impl Freeze for MarkdownImageAltText
impl RefUnwindSafe for MarkdownImageAltText
impl Send for MarkdownImageAltText
impl Sync for MarkdownImageAltText
impl Unpin for MarkdownImageAltText
impl UnwindSafe for MarkdownImageAltText
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