pub struct ProgramNode {
pub statements: Vec<StatementNode>,
pub span: SourceSpan,
pub source_id: SourceId,
pub target: String,
}
Fields§
§statements: Vec<StatementNode>
§span: SourceSpan
§source_id: SourceId
§target: String
Trait Implementations§
Source§impl Clone for ProgramNode
impl Clone for ProgramNode
Source§fn clone(&self) -> ProgramNode
fn clone(&self) -> ProgramNode
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 ProgramNode
impl Debug for ProgramNode
Source§impl PartialEq for ProgramNode
impl PartialEq for ProgramNode
impl StructuralPartialEq for ProgramNode
Auto Trait Implementations§
impl Freeze for ProgramNode
impl RefUnwindSafe for ProgramNode
impl Send for ProgramNode
impl Sync for ProgramNode
impl Unpin for ProgramNode
impl UnwindSafe for ProgramNode
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