pub struct ProgramNode {
pub statements: Vec<StatementNode>,
pub span: Range<usize>,
}Expand description
程序节点
Fields§
§statements: Vec<StatementNode>§span: Range<usize>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<'de> Deserialize<'de> for ProgramNode
impl<'de> Deserialize<'de> for ProgramNode
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 ProgramNode
impl PartialEq for ProgramNode
Source§impl Serialize for ProgramNode
impl Serialize 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