pub struct ParserState<N: Node> { /* private fields */ }Expand description
Parser state that can be cloned
Implementations§
Trait Implementations§
Source§impl<N: Clone + Node> Clone for ParserState<N>
impl<N: Clone + Node> Clone for ParserState<N>
Source§fn clone(&self) -> ParserState<N>
fn clone(&self) -> ParserState<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<N: Node> Debug for ParserState<N>
impl<N: Node> Debug for ParserState<N>
Source§impl<N: Node> Default for ParserState<N>
impl<N: Node> Default for ParserState<N>
Source§impl<N: Node> PartialEq for ParserState<N>
impl<N: Node> PartialEq for ParserState<N>
Source§fn eq(&self, _: &ParserState<N>) -> bool
fn eq(&self, _: &ParserState<N>) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
impl<N> !Send for ParserState<N>
impl<N> !Sync for ParserState<N>
impl<N> Freeze for ParserState<N>where
N: Freeze,
impl<N> RefUnwindSafe for ParserState<N>where
N: RefUnwindSafe,
impl<N> Unpin for ParserState<N>where
N: Unpin,
impl<N> UnsafeUnpin for ParserState<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ParserState<N>where
N: 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