pub struct NewArrayNode {
pub arg: ExprKind,
}
Expand description
Represents a return node in the AST, such as return 5
.
Fields§
§arg: ExprKind
The number of elements in the array
Implementations§
Trait Implementations§
Source§impl Clone for NewArrayNode
impl Clone for NewArrayNode
Source§fn clone(&self) -> NewArrayNode
fn clone(&self) -> NewArrayNode
Returns a copy 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 NewArrayNode
impl Debug for NewArrayNode
Source§impl<'de> Deserialize<'de> for NewArrayNode
impl<'de> Deserialize<'de> for NewArrayNode
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 From<NewArrayNode> for AstKind
impl From<NewArrayNode> for AstKind
Source§fn from(id: NewArrayNode) -> Self
fn from(id: NewArrayNode) -> Self
Converts to this type from the input type.
Source§impl From<NewArrayNode> for ExprKind
impl From<NewArrayNode> for ExprKind
Source§fn from(id: NewArrayNode) -> Self
fn from(id: NewArrayNode) -> Self
Converts to this type from the input type.
Source§impl From<NewArrayNode> for P<AstKind>
impl From<NewArrayNode> for P<AstKind>
Source§fn from(id: NewArrayNode) -> Self
fn from(id: NewArrayNode) -> Self
Converts to this type from the input type.
Source§impl From<NewArrayNode> for P<ExprKind>
impl From<NewArrayNode> for P<ExprKind>
Source§fn from(id: NewArrayNode) -> Self
fn from(id: NewArrayNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NewArrayNode
impl PartialEq for NewArrayNode
Source§impl Serialize for NewArrayNode
impl Serialize for NewArrayNode
impl Eq for NewArrayNode
Auto Trait Implementations§
impl Freeze for NewArrayNode
impl RefUnwindSafe for NewArrayNode
impl Send for NewArrayNode
impl Sync for NewArrayNode
impl Unpin for NewArrayNode
impl UnwindSafe for NewArrayNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.