pub struct ParseFileResult<ID>{
pub id: ID,
pub ast: Option<Aidl>,
pub diagnostics: Vec<Diagnostic>,
}
Expand description
The parse result of 1 file with its corresponding ID as given via Parser::add_content() or Parser::add_file().
Fields§
§id: ID
§ast: Option<Aidl>
§diagnostics: Vec<Diagnostic>
Trait Implementations§
Source§impl<ID> Clone for ParseFileResult<ID>
impl<ID> Clone for ParseFileResult<ID>
Source§fn clone(&self) -> ParseFileResult<ID>
fn clone(&self) -> ParseFileResult<ID>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<ID> Freeze for ParseFileResult<ID>where
ID: Freeze,
impl<ID> RefUnwindSafe for ParseFileResult<ID>where
ID: RefUnwindSafe,
impl<ID> Send for ParseFileResult<ID>where
ID: Send,
impl<ID> Sync for ParseFileResult<ID>where
ID: Sync,
impl<ID> Unpin for ParseFileResult<ID>where
ID: Unpin,
impl<ID> UnwindSafe for ParseFileResult<ID>where
ID: 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