pub struct DRoot {
pub items: Vec<Item>,
}Expand description
Strongly-typed AST root node representing the entire D source file.
Fields§
§items: Vec<Item>Collection of top-level items in the D file
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DRoot
impl<'de> Deserialize<'de> for DRoot
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
impl Eq for DRoot
impl StructuralPartialEq for DRoot
Auto Trait Implementations§
impl Freeze for DRoot
impl RefUnwindSafe for DRoot
impl Send for DRoot
impl Sync for DRoot
impl Unpin for DRoot
impl UnwindSafe for DRoot
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