Struct parsy::parsers::recursive::RecursiveRef
source · pub struct RecursiveRef<T> { /* private fields */ }Trait Implementations§
source§impl<T> Clone for RecursiveRef<T>
impl<T> Clone for RecursiveRef<T>
source§impl<T> Parser<T> for RecursiveRef<T>
impl<T> Parser<T> for RecursiveRef<T>
fn parse_inner(&self, input: &mut ParserInput<'_>) -> PResult<T>
fn parse(&self, input: &mut ParserInput<'_>) -> PResult<T>
fn parse_str(&self, str: &str) -> PResult<T>
fn parse_str_as_file(&self, str: &str, file_id: FileId) -> PResult<T>
fn then<U, P: Parser<U>>(self, other: P) -> Then<T, Self, U, P>where Self: Sized,
fn then_ignore<U, P: Parser<U>>(self, other: P) -> ThenIgnore<T, Self, U, P>where Self: Sized,
fn ignore_then<U, P: Parser<U>>(self, other: P) -> IgnoreThen<T, Self, U, P>where Self: Sized,
fn followed_by<U, P: Parser<U>>(self, other: P) -> FollowedBy<T, Self, U, P>where Self: Sized,
fn not_followed_by<U, P: Parser<U>>( self, other: P ) -> NotFollowedBy<T, Self, U, P>where Self: Sized,
fn repeated(self) -> Repeated<T, Self, NoAllocContainer>where Self: Sized,
fn repeated_vec(self) -> Repeated<T, Self, Vec<T>>where Self: Sized,
fn repeated_custom<C: Container<T>>(self) -> Repeated<T, Self, C>where Self: Sized,
fn or_not(self) -> OrNot<T, Self>where Self: Sized,
fn map<U, F: Fn(T) -> U + Clone>(self, mapper: F) -> Map<T, Self, U, F>where Self: Sized,
fn spanned(self) -> Spanned<T, Self>where Self: Sized,
fn collect_string(self) -> StringCollected<T, Self>where Self: Sized,
fn critical(self, message: &'static str) -> Critical<T, Self>where Self: Sized,
fn silent(self) -> Silenced<T, Self>where Self: Sized,
fn padded(self) -> Padded<T, Self>where Self: Sized,
fn line_padded(self) -> LinePadded<T, Self>where Self: Sized,
fn delimited_by<L, LP: Parser<L>, R, RP: Parser<R>>( self, left: LP, right: RP ) -> DelimitedBy<L, LP, T, Self, R, RP>where Self: Sized,
fn separated_by<S, P: Parser<S>>( self, sep: P ) -> SeparatedBy<T, Self, S, P, Vec<T>>where Self: Sized,
fn separated_by_custom<S, P: Parser<S>, C: Container<T>>( self, sep: P ) -> SeparatedBy<T, Self, S, P, C>where Self: Sized,
fn to<U: Clone>(self, data: U) -> To<T, Self, U>where Self: Sized,
fn full(self) -> Full<T, Self>where Self: Sized,
fn or<P: Parser<T>>(self, other: P) -> Choice<(Self, P), T>where Self: Sized,
fn validate<F: Fn(&T) -> bool>(self, validator: F) -> Validate<T, Self, F>where Self: Sized,
fn fail(self) -> Fail<T, Self>where Self: Sized,
fn debug<F: for<'a, 'b> Fn(DebugType<'a, 'b, T>) + Clone>( self, debugger: F ) -> Debugging<T, Self, F>where Self: Sized,
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RecursiveRef<T>
impl<T> !Send for RecursiveRef<T>
impl<T> !Sync for RecursiveRef<T>
impl<T> Unpin for RecursiveRef<T>
impl<T> !UnwindSafe for RecursiveRef<T>
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