pub struct MapPair {
pub key: SmallName,
pub value: Expr,
}Expand description
A key-value pair in a map literal.
Fields§
§key: SmallName§value: ExprTrait Implementations§
impl StructuralPartialEq for MapPair
Auto Trait Implementations§
impl Forget for MapPair
impl Freeze for MapPair
impl Move for MapPair
impl RefUnwindSafe for MapPair
impl Send for MapPair
impl Sync for MapPair
impl Unpin for MapPair
impl UnsafeUnpin for MapPair
impl UnwindSafe for MapPair
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