Struct pdl_compiler::ast::File
source · pub struct File<A: Annotation> {
pub version: String,
pub file: FileId,
pub comments: Vec<Comment>,
pub endianness: Endianness,
pub declarations: Vec<Decl<A>>,
}
Fields§
§version: String
§file: FileId
§comments: Vec<Comment>
§endianness: Endianness
§declarations: Vec<Decl<A>>
Implementations§
source§impl<A: Annotation> File<A>
impl<A: Annotation> File<A>
Trait Implementations§
source§impl<A: Annotation + PartialEq> PartialEq<File<A>> for File<A>
impl<A: Annotation + PartialEq> PartialEq<File<A>> for File<A>
impl<A: Annotation + PartialEq> Eq for File<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for File<A>where <A as Annotation>::DeclAnnotation: RefUnwindSafe, <A as Annotation>::FieldAnnotation: RefUnwindSafe,
impl<A> Send for File<A>where <A as Annotation>::DeclAnnotation: Send, <A as Annotation>::FieldAnnotation: Send,
impl<A> Sync for File<A>where <A as Annotation>::DeclAnnotation: Sync, <A as Annotation>::FieldAnnotation: Sync,
impl<A> Unpin for File<A>where <A as Annotation>::DeclAnnotation: Unpin, <A as Annotation>::FieldAnnotation: Unpin,
impl<A> UnwindSafe for File<A>where <A as Annotation>::DeclAnnotation: UnwindSafe, <A as Annotation>::FieldAnnotation: 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