pub struct CompositeLit {
pub typ: Option<Expr>,
pub l_brace: Pos,
pub elts: Vec<Expr>,
pub r_brace: Pos,
pub incomplete: bool,
}
Fields§
§typ: Option<Expr>
§l_brace: Pos
§elts: Vec<Expr>
§r_brace: Pos
§incomplete: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompositeLit
impl RefUnwindSafe for CompositeLit
impl !Send for CompositeLit
impl !Sync for CompositeLit
impl Unpin for CompositeLit
impl UnwindSafe for CompositeLit
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