pub struct StructLiteral {
pub extent: Extent,
pub fields: Vec<StructLiteralField>,
pub splat: Option<Box<Attributed<Expression>>>,
pub whitespace: Vec<Whitespace>,
}Expand description
Fields§
§extent: Extent§fields: Vec<StructLiteralField>§splat: Option<Box<Attributed<Expression>>>§whitespace: Vec<Whitespace>Trait Implementations§
Source§impl Debug for StructLiteral
impl Debug for StructLiteral
Source§impl<'a> Index<&'a StructLiteral> for str
impl<'a> Index<&'a StructLiteral> for str
Source§impl Index<StructLiteral> for str
impl Index<StructLiteral> for str
Auto Trait Implementations§
impl Freeze for StructLiteral
impl RefUnwindSafe for StructLiteral
impl Send for StructLiteral
impl Sync for StructLiteral
impl Unpin for StructLiteral
impl UnsafeUnpin for StructLiteral
impl UnwindSafe for StructLiteral
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