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