pub struct PunctuatedMeaningfully<'input, Element: Parse<'input>, Punct: Parse<'input, Input = Element::Input>> { /* private fields */ }Expand description
Parse a punctuated (e.g. by mathematical operators) list of elements determined by the parsers passed in here.
Trait Implementations§
Source§impl<'input, Element: Debug + Parse<'input>, Punct: Debug + Parse<'input, Input = Element::Input>> Debug for PunctuatedMeaningfully<'input, Element, Punct>
impl<'input, Element: Debug + Parse<'input>, Punct: Debug + Parse<'input, Input = Element::Input>> Debug for PunctuatedMeaningfully<'input, Element, Punct>
Source§impl<'input, Element: Parse<'input>, Punct: Parse<'input, Input = Element::Input>> Parse<'input> for PunctuatedMeaningfully<'input, Element, Punct>
Available on crate feature alloc only.
impl<'input, Element: Parse<'input>, Punct: Parse<'input, Input = Element::Input>> Parse<'input> for PunctuatedMeaningfully<'input, Element, Punct>
Available on crate feature
alloc only.Source§type Input = <Punct as Parse<'input>>::Input
type Input = <Punct as Parse<'input>>::Input
Raw type, of which we parse a slice. E.g.
u8 if we want to parse a string of bytes, not &[u8]: the slice is implied.Auto Trait Implementations§
impl<'input, Element, Punct> Freeze for PunctuatedMeaningfully<'input, Element, Punct>
impl<'input, Element, Punct> RefUnwindSafe for PunctuatedMeaningfully<'input, Element, Punct>where
Element: RefUnwindSafe,
Punct: RefUnwindSafe,
impl<'input, Element, Punct> Send for PunctuatedMeaningfully<'input, Element, Punct>
impl<'input, Element, Punct> Sync for PunctuatedMeaningfully<'input, Element, Punct>
impl<'input, Element, Punct> Unpin for PunctuatedMeaningfully<'input, Element, Punct>
impl<'input, Element, Punct> UnwindSafe for PunctuatedMeaningfully<'input, Element, Punct>where
Element: UnwindSafe,
Punct: UnwindSafe,
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