pub struct AssociateConstructNode {
pub associates: Vec<Associate>,
pub body: Vec<ExecutableStmt>,
pub name: Option<String>,
pub span: Range<usize>,
}Expand description
Associate construct node.
Fields§
§associates: Vec<Associate>The list of associations.
body: Vec<ExecutableStmt>The statements in the associate body.
name: Option<String>The optional construct name.
span: Range<usize>The byte range of this node in the source text.
Trait Implementations§
Source§impl Clone for AssociateConstructNode
impl Clone for AssociateConstructNode
Source§fn clone(&self) -> AssociateConstructNode
fn clone(&self) -> AssociateConstructNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssociateConstructNode
impl Debug for AssociateConstructNode
Source§impl<'de> Deserialize<'de> for AssociateConstructNode
impl<'de> Deserialize<'de> for AssociateConstructNode
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 AssociateConstructNode
impl PartialEq for AssociateConstructNode
Source§fn eq(&self, other: &AssociateConstructNode) -> bool
fn eq(&self, other: &AssociateConstructNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssociateConstructNode
impl Serialize for AssociateConstructNode
impl StructuralPartialEq for AssociateConstructNode
Auto Trait Implementations§
impl Freeze for AssociateConstructNode
impl RefUnwindSafe for AssociateConstructNode
impl Send for AssociateConstructNode
impl Sync for AssociateConstructNode
impl Unpin for AssociateConstructNode
impl UnsafeUnpin for AssociateConstructNode
impl UnwindSafe for AssociateConstructNode
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