#[non_exhaustive]pub enum RunResult {
Image(Output),
Layout(LayoutReport),
}Expand description
The actual result of one successful document execution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Image(Output)
The complete scene frozen by the same execution that published the image.
Layout(LayoutReport)
The actual accepted native layout.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RunResult
impl Freeze for RunResultwhere
*const ArcInner<RenderedScene> is !null: Freeze,
PhantomData<ArcInner<RenderedScene>>: Freeze,
*const ArcInner<[LayoutNode]> is !null: Freeze,
PhantomData<ArcInner<[LayoutNode]>>: Freeze,
*const ArcInner<[GridCellReport]> is !null: Freeze,
PhantomData<ArcInner<[GridCellReport]>>: Freeze,
*const ArcInner<[PaintBatch]> is !null: Freeze,
PhantomData<ArcInner<[PaintBatch]>>: Freeze,
*const ArcInner<[BoundaryRef]> is !null: Freeze,
PhantomData<ArcInner<[BoundaryRef]>>: Freeze,
impl Move for RunResult
impl RefUnwindSafe for RunResultwhere
Atomic<usize>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
OnceLock<AssetView>: RefUnwindSafe,
OnceLock<Arc<[u8]>>: RefUnwindSafe,
impl Send for RunResultwhere
Arc<RenderedScene>: Send,
Arc<[LayoutNode]>: Send,
Arc<[GridCellReport]>: Send,
Arc<[PaintBatch]>: Send,
Arc<[BoundaryRef]>: Send,
impl Sync for RunResultwhere
Arc<RenderedScene>: Sync,
Arc<[LayoutNode]>: Sync,
Arc<[GridCellReport]>: Sync,
Arc<[PaintBatch]>: Sync,
Arc<[BoundaryRef]>: Sync,
impl Unpin for RunResultwhere
Arc<RenderedScene>: Unpin,
Arc<[LayoutNode]>: Unpin,
Arc<[GridCellReport]>: Unpin,
Arc<[PaintBatch]>: Unpin,
Arc<[BoundaryRef]>: Unpin,
impl UnsafeUnpin for RunResultwhere
*const ArcInner<RenderedScene> is !null: UnsafeUnpin,
PhantomData<ArcInner<RenderedScene>>: UnsafeUnpin,
*const ArcInner<[LayoutNode]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[LayoutNode]>>: UnsafeUnpin,
*const ArcInner<[GridCellReport]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[GridCellReport]>>: UnsafeUnpin,
*const ArcInner<[PaintBatch]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[PaintBatch]>>: UnsafeUnpin,
*const ArcInner<[BoundaryRef]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[BoundaryRef]>>: UnsafeUnpin,
impl UnwindSafe for RunResultwhere
Arc<RenderedScene>: UnwindSafe,
Arc<[LayoutNode]>: UnwindSafe,
Arc<[GridCellReport]>: UnwindSafe,
Arc<[PaintBatch]>: UnwindSafe,
Arc<[BoundaryRef]>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.