pub struct MapLit<'input> {
pub loc: Loc,
pub items: Vec<MapPair<'input>>,
}
Expand description
A map literal.
Fields§
§loc: Loc
§items: Vec<MapPair<'input>>
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for MapLit<'input>
Auto Trait Implementations§
impl<'input> Freeze for MapLit<'input>
impl<'input> RefUnwindSafe for MapLit<'input>
impl<'input> Send for MapLit<'input>
impl<'input> Sync for MapLit<'input>
impl<'input> Unpin for MapLit<'input>
impl<'input> UnwindSafe for MapLit<'input>
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