pub struct LayerEntry {
pub name: ScopedName,
pub plot_names: Vec<Spanned<ScopedName>>,
pub fields: Vec<LoweredPlotField>,
pub span: Span,
}Expand description
A layer declaration with lowered fields.
Fields§
§name: ScopedName§plot_names: Vec<Spanned<ScopedName>>Plots composed by this layer, in source order.
fields: Vec<LoweredPlotField>Lowered field expressions; fields that failed to lower are omitted (best-effort, matching plots).
span: SpanTrait Implementations§
Source§impl Clone for LayerEntry
impl Clone for LayerEntry
Source§fn clone(&self) -> LayerEntry
fn clone(&self) -> LayerEntry
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 moreAuto Trait Implementations§
impl Freeze for LayerEntry
impl RefUnwindSafe for LayerEntry
impl Send for LayerEntry
impl Sync for LayerEntry
impl Unpin for LayerEntry
impl UnsafeUnpin for LayerEntry
impl UnwindSafe for LayerEntry
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