pub struct NodeStatement {
pub node_id: NodeId,
pub attributes: Vec<Attribute>,
pub span: Range<usize>,
}Expand description
节点语句
Fields§
§node_id: NodeId§attributes: Vec<Attribute>§span: Range<usize>Trait Implementations§
Source§impl Clone for NodeStatement
impl Clone for NodeStatement
Source§fn clone(&self) -> NodeStatement
fn clone(&self) -> NodeStatement
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 NodeStatement
impl Debug for NodeStatement
Source§impl<'de> Deserialize<'de> for NodeStatement
impl<'de> Deserialize<'de> for NodeStatement
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 NodeStatement
impl PartialEq for NodeStatement
Source§impl Serialize for NodeStatement
impl Serialize for NodeStatement
impl StructuralPartialEq for NodeStatement
Auto Trait Implementations§
impl Freeze for NodeStatement
impl RefUnwindSafe for NodeStatement
impl Send for NodeStatement
impl Sync for NodeStatement
impl Unpin for NodeStatement
impl UnwindSafe for NodeStatement
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