pub struct PlotEntry {
pub name: ScopedName,
pub mark_type: MarkType,
pub body: Option<LoweredPlotBody>,
pub span: Span,
pub is_pub: bool,
pub displayed: bool,
}Expand description
A plot declaration with lowered body.
Fields§
§name: ScopedName§mark_type: MarkTypeMark shape rendered for this plot.
body: Option<LoweredPlotBody>Lowered body, or None when an expression failed to lower. Plots
are best-effort at evaluation time: an incomplete body is skipped by
the runtime instead of failing the compile.
span: Span§is_pub: boolWhether this plot is pub (exported across the file boundary,
requestable by include brace lists). Says nothing about display.
displayed: boolWhether this plot renders standalone when its file is the entry
point. true unless the declaration carries #[hidden] (#847).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlotEntry
impl RefUnwindSafe for PlotEntry
impl Send for PlotEntry
impl Sync for PlotEntry
impl Unpin for PlotEntry
impl UnsafeUnpin for PlotEntry
impl UnwindSafe for PlotEntry
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