Struct syntax::ast::File [] [src]

pub struct File {
    pub lines: Vec<Line>,
    pub span: ByteSpan,



impl File

impl File

Try to parse the provided string as this type of AST node.

Trait Implementations

impl Debug for File

Formats the value using the given formatter. Read more

impl Clone for File

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for File

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl HeapSizeOf for File

Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more

impl AstNode for File

Auto Trait Implementations

impl Send for File

impl Sync for File