pub struct ParseNodeResult<Node = AstNode> {
pub root: *mut Node,
pub lines: usize,
pub hotcomments: Vec<HotComment>,
pub errors: Vec<ParseError>,
pub comment_locations: Vec<Comment>,
pub cst_node_map: CstNodeMap,
}Fields§
§root: *mut Node§lines: usize§hotcomments: Vec<HotComment>§errors: Vec<ParseError>§comment_locations: Vec<Comment>§cst_node_map: CstNodeMapTrait Implementations§
Source§impl<Node: Clone> Clone for ParseNodeResult<Node>
impl<Node: Clone> Clone for ParseNodeResult<Node>
Source§fn clone(&self) -> ParseNodeResult<Node>
fn clone(&self) -> ParseNodeResult<Node>
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 moreAuto Trait Implementations§
impl<Node = AstNode> !Send for ParseNodeResult<Node>
impl<Node = AstNode> !Sync for ParseNodeResult<Node>
impl<Node> Freeze for ParseNodeResult<Node>
impl<Node> RefUnwindSafe for ParseNodeResult<Node>where
Node: RefUnwindSafe,
impl<Node> Unpin for ParseNodeResult<Node>
impl<Node> UnsafeUnpin for ParseNodeResult<Node>
impl<Node> UnwindSafe for ParseNodeResult<Node>where
Node: RefUnwindSafe,
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