pub struct BuildOutcome {
pub sheet_labels: Option<(ParsedSheet, Labels)>,
pub error: Option<String>,
}Expand description
The result of parsing and building a sheet from adam-lang source.
sheet_labels is None only on parse failure. A successful parse that
then fails to propagate still returns the built sheet and labels alongside
the formatted error, matching how crate::SheetInspector already tolerates
propagate failures during cell edits.
Fields§
§sheet_labels: Option<(ParsedSheet, Labels)>The built ParsedSheet and its UI labels, if parsing succeeded.
error: Option<String>A formatted rustc-style diagnostic, if parsing or propagation failed.
Auto Trait Implementations§
impl !RefUnwindSafe for BuildOutcome
impl !Send for BuildOutcome
impl !Sync for BuildOutcome
impl !UnwindSafe for BuildOutcome
impl Freeze for BuildOutcome
impl Unpin for BuildOutcome
impl UnsafeUnpin for BuildOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.