pub struct DelphiRoot {
pub items: Vec<DelphiItem>,
pub span: Range<usize>,
}Expand description
Delphi AST root node.
Fields§
§items: Vec<DelphiItem>Items in the Delphi source.
span: Range<usize>Source span.
Implementations§
Source§impl DelphiRoot
impl DelphiRoot
Trait Implementations§
Source§impl Clone for DelphiRoot
impl Clone for DelphiRoot
Source§fn clone(&self) -> DelphiRoot
fn clone(&self) -> DelphiRoot
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 DelphiRoot
impl Debug for DelphiRoot
Source§impl<'de> Deserialize<'de> for DelphiRoot
impl<'de> Deserialize<'de> for DelphiRoot
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 DelphiRoot
impl PartialEq for DelphiRoot
Source§impl Serialize for DelphiRoot
impl Serialize for DelphiRoot
impl StructuralPartialEq for DelphiRoot
Auto Trait Implementations§
impl Freeze for DelphiRoot
impl RefUnwindSafe for DelphiRoot
impl Send for DelphiRoot
impl Sync for DelphiRoot
impl Unpin for DelphiRoot
impl UnsafeUnpin for DelphiRoot
impl UnwindSafe for DelphiRoot
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