pub struct ArrayLiteral {
pub elements: Vec<Option<Node>>,
pub span: Option<Span>,
}Fields§
§elements: Vec<Option<Node>>§span: Option<Span>Trait Implementations§
Source§impl Clone for ArrayLiteral
impl Clone for ArrayLiteral
Source§fn clone(&self) -> ArrayLiteral
fn clone(&self) -> ArrayLiteral
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 ArrayLiteral
impl Debug for ArrayLiteral
Source§impl<'de> Deserialize<'de> for ArrayLiteral
impl<'de> Deserialize<'de> for ArrayLiteral
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 ArrayLiteral
impl PartialEq for ArrayLiteral
Source§impl Serialize for ArrayLiteral
impl Serialize for ArrayLiteral
impl StructuralPartialEq for ArrayLiteral
Auto Trait Implementations§
impl Freeze for ArrayLiteral
impl RefUnwindSafe for ArrayLiteral
impl Send for ArrayLiteral
impl Sync for ArrayLiteral
impl Unpin for ArrayLiteral
impl UnwindSafe for ArrayLiteral
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