pub struct ValkyrieRoot {
pub items: Vec<Item>,
}Expand description
Strongly-typed AST root node representing the entire Valkyrie source file.
This is the top-level structure that contains all items (functions, statements, etc.) parsed from a Valkyrie source file.
Fields§
§items: Vec<Item>Collection of top-level items in the Valkyrie file
Trait Implementations§
Source§impl Clone for ValkyrieRoot
impl Clone for ValkyrieRoot
Source§fn clone(&self) -> ValkyrieRoot
fn clone(&self) -> ValkyrieRoot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValkyrieRoot
impl Debug for ValkyrieRoot
Source§impl<'de> Deserialize<'de> for ValkyrieRoot
impl<'de> Deserialize<'de> for ValkyrieRoot
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
Source§impl PartialEq for ValkyrieRoot
impl PartialEq for ValkyrieRoot
Source§impl Serialize for ValkyrieRoot
impl Serialize for ValkyrieRoot
impl StructuralPartialEq for ValkyrieRoot
Auto Trait Implementations§
impl Freeze for ValkyrieRoot
impl RefUnwindSafe for ValkyrieRoot
impl Send for ValkyrieRoot
impl Sync for ValkyrieRoot
impl Unpin for ValkyrieRoot
impl UnwindSafe for ValkyrieRoot
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