[−][src]Struct ssexp::parsers::SymbolReplacer
Replaces substrings in symbol.
Fields
replacements: Vec<(String, String)>
An optinal prefix for the created list.
parser: P
The parser of the symbol.
Trait Implementations
impl<T: Iterator<Item = char>, P: Parser<T>> Parser<T> for SymbolReplacer<P>
[src]
fn parse(
&self,
char: Option<char>,
result: &mut Vec<Token>,
context: &mut ParsingContext<T>
) -> ParsingState
[src]
&self,
char: Option<char>,
result: &mut Vec<Token>,
context: &mut ParsingContext<T>
) -> ParsingState
Auto Trait Implementations
impl<P> RefUnwindSafe for SymbolReplacer<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for SymbolReplacer<P> where
P: Send,
P: Send,
impl<P> Sync for SymbolReplacer<P> where
P: Sync,
P: Sync,
impl<P> Unpin for SymbolReplacer<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for SymbolReplacer<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,