pub struct MultiDataRow<P: Phase = Raw> {
pub label: Spanned<IndexVariantName>,
pub values: Vec<Expr<P>>,
pub span: Span,
}Expand description
One data row of a multi-decl body: label + value per column.
Fields§
§label: Spanned<IndexVariantName>§values: Vec<Expr<P>>§span: SpanTrait Implementations§
Source§impl<P: Clone + Phase> Clone for MultiDataRow<P>
impl<P: Clone + Phase> Clone for MultiDataRow<P>
Source§fn clone(&self) -> MultiDataRow<P>
fn clone(&self) -> MultiDataRow<P>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FormatEquivalent for MultiDataRow
impl FormatEquivalent for MultiDataRow
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 MultiDataRow<P>
impl<P> RefUnwindSafe for MultiDataRow<P>
impl<P> Send for MultiDataRow<P>
impl<P> Sync for MultiDataRow<P>
impl<P> Unpin for MultiDataRow<P>
impl<P> UnsafeUnpin for MultiDataRow<P>
impl<P> UnwindSafe for MultiDataRow<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