Struct aidl_parser::parser::ParseFileResult [−][src]
pub struct ParseFileResult<ID> where
ID: Eq + Hash + Clone + Debug, {
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
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more