pub struct MapEntry<P: Phase = Raw> {
pub keys: NonEmpty<MapEntryKey>,
pub value: Expr<P>,
}Expand description
An entry in a map literal.
Single-axis: Maneuver.Departure: 2.46 km/s (keys has 1 element)
Multi-axis: (Phase.Launch, Maneuver.Departure): 2.46 km/s (keys has 2+ elements)
Fields§
§keys: NonEmpty<MapEntryKey>§value: Expr<P>Trait Implementations§
Source§impl FormatEquivalent for MapEntry
impl FormatEquivalent for MapEntry
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl<P> Freeze for MapEntry<P>
impl<P> RefUnwindSafe for MapEntry<P>
impl<P> Send for MapEntry<P>
impl<P> Sync for MapEntry<P>
impl<P> Unpin for MapEntry<P>
impl<P> UnsafeUnpin for MapEntry<P>
impl<P> UnwindSafe for MapEntry<P>
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