pub struct ParserNode {
pub expr: ParserExpr,
pub span: Span,
}Fields§
§expr: ParserExpr§span: SpanImplementations§
Source§impl ParserNode
impl ParserNode
pub fn filter_map_top_down<F, T>(self, f: F) -> Vec<T>
Trait Implementations§
Source§impl Clone for ParserNode
impl Clone for ParserNode
Source§fn clone(&self) -> ParserNode
fn clone(&self) -> ParserNode
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 Debug for ParserNode
impl Debug for ParserNode
Source§impl PartialEq for ParserNode
impl PartialEq for ParserNode
Source§fn eq(&self, other: &ParserNode) -> bool
fn eq(&self, other: &ParserNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParserNode
impl StructuralPartialEq for ParserNode
Auto Trait Implementations§
impl Freeze for ParserNode
impl RefUnwindSafe for ParserNode
impl Send for ParserNode
impl Sync for ParserNode
impl Unpin for ParserNode
impl UnsafeUnpin for ParserNode
impl UnwindSafe for ParserNode
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