pub struct Ast {
pub metadata: FileMetadata,
pub declarations: Vec<SpannedAstNode>,
}Expand description
Abstract Syntax Tree for SEA DSL
Fields§
§metadata: FileMetadata§declarations: Vec<SpannedAstNode>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ast
impl<'de> Deserialize<'de> for Ast
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Ast
impl Freeze for Astwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ImportDecl>: Freeze,
PhantomData<SpannedAstNode>: Freeze,
impl Move for Ast
impl RefUnwindSafe for Ast
impl Send for Ast
impl Sync for Ast
impl Unpin for Ast
impl UnsafeUnpin for Astwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ImportDecl>: UnsafeUnpin,
PhantomData<SpannedAstNode>: UnsafeUnpin,
impl UnwindSafe for Astwhere
RawVecInner: UnwindSafe,
BoxRaw<SpannedAstNode>: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
BoxRaw<FieldType>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
HashMap<String, Expression>: 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