#[non_exhaustive]pub struct ListNode {
pub items: Vec<Expression>,
/* private fields */
}Expand description
A node representing a list of items
E.g. (1, 2, 3)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.items: Vec<Expression>The items in the list
Implementations§
Trait Implementations§
Source§impl From<ListNode> for Expression
impl From<ListNode> for Expression
Source§fn from(node: ListNode) -> Expression
fn from(node: ListNode) -> Expression
Converts to this type from the input type.
impl Eq for ListNode
impl StructuralPartialEq for ListNode
Auto Trait Implementations§
impl Freeze for ListNode
impl RefUnwindSafe for ListNode
impl Send for ListNode
impl Sync for ListNode
impl Unpin for ListNode
impl UnsafeUnpin for ListNode
impl UnwindSafe for ListNode
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