pub struct CSharpRoot {
pub items: Vec<Item>,
}Expand description
Root node of the C# AST.
Fields§
§items: Vec<Item>Items in the compilation unit.
Trait Implementations§
Source§impl Clone for CSharpRoot
impl Clone for CSharpRoot
Source§fn clone(&self) -> CSharpRoot
fn clone(&self) -> CSharpRoot
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 CSharpRoot
impl Debug for CSharpRoot
Source§impl<'de> Deserialize<'de> for CSharpRoot
impl<'de> Deserialize<'de> for CSharpRoot
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 CSharpRoot
impl PartialEq for CSharpRoot
Source§impl Serialize for CSharpRoot
impl Serialize for CSharpRoot
impl StructuralPartialEq for CSharpRoot
Auto Trait Implementations§
impl Freeze for CSharpRoot
impl RefUnwindSafe for CSharpRoot
impl Send for CSharpRoot
impl Sync for CSharpRoot
impl Unpin for CSharpRoot
impl UnsafeUnpin for CSharpRoot
impl UnwindSafe for CSharpRoot
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