pub struct DelphiProgram {
pub name: Identifier,
pub statements: Vec<DelphiStatement>,
pub span: Range<usize>,
}Expand description
Represents a Delphi program
Fields§
§name: Identifier§statements: Vec<DelphiStatement>§span: Range<usize>Trait Implementations§
Source§impl Clone for DelphiProgram
impl Clone for DelphiProgram
Source§fn clone(&self) -> DelphiProgram
fn clone(&self) -> DelphiProgram
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 DelphiProgram
impl Debug for DelphiProgram
Source§impl<'de> Deserialize<'de> for DelphiProgram
impl<'de> Deserialize<'de> for DelphiProgram
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 DelphiProgram
impl PartialEq for DelphiProgram
Source§impl Serialize for DelphiProgram
impl Serialize for DelphiProgram
impl StructuralPartialEq for DelphiProgram
Auto Trait Implementations§
impl Freeze for DelphiProgram
impl RefUnwindSafe for DelphiProgram
impl Send for DelphiProgram
impl Sync for DelphiProgram
impl Unpin for DelphiProgram
impl UnwindSafe for DelphiProgram
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