pub enum Outcome {
Same,
Changed(Edits, Applied),
Problems(Vec<Problem>),
}Expand description
What a change made of a design.
Variants§
Same
Its scene is as it was, and valid.
Changed(Edits, Applied)
Its scene changed by these edits — what the browser is sent, as a
patch — applied to it once, in its holder, as applied says.
Problems(Vec<Problem>)
It has these problems, every one; its holder’s scene is left the last valid one.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Outcome
impl !UnwindSafe for Outcome
impl Forget for Outcome
impl Freeze for Outcomewhere
*const u8 is !null: Freeze,
PhantomData<Edit>: Freeze,
*const LeafNode<ImageId, Arc<ImageFile>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ImageId, Arc<ImageFile>)>>: Freeze,
*const LeafNode<FontId, Arc<FontFile>> is !null: Freeze,
PhantomData<Box<(FontId, Arc<FontFile>)>>: Freeze,
PhantomData<NodeId>: Freeze,
PhantomData<(NodeId, Node)>: Freeze,
PhantomData<Problem>: Freeze,
impl Move for Outcome
impl Send for Outcomewhere
RawVecInner: Send,
NodeRef<Owned, OrderKey, Node, LeafOrInternal>: Send,
BoxRaw<(OrderKey, Node)>: Send,
NodeRef<Owned, ImageId, Arc<ImageFile>, LeafOrInternal>: Send,
BoxRaw<(ImageId, Arc<ImageFile>)>: Send,
NodeRef<Owned, FontId, Arc<FontFile>, LeafOrInternal>: Send,
BoxRaw<(FontId, Arc<FontFile>)>: Send,
impl Sync for Outcomewhere
RawVecInner: Sync,
NodeRef<Owned, OrderKey, Node, LeafOrInternal>: Sync,
BoxRaw<(OrderKey, Node)>: Sync,
NodeRef<Owned, ImageId, Arc<ImageFile>, LeafOrInternal>: Sync,
BoxRaw<(ImageId, Arc<ImageFile>)>: Sync,
NodeRef<Owned, FontId, Arc<FontFile>, LeafOrInternal>: Sync,
BoxRaw<(FontId, Arc<FontFile>)>: Sync,
impl Unpin for Outcomewhere
*const u8 is !null: Unpin,
*const LeafNode<OrderKey, Node> is !null: Unpin,
Box<(OrderKey, Node)>: Unpin,
*const LeafNode<ImageId, Arc<ImageFile>> is !null: Unpin,
Box<(ImageId, Arc<ImageFile>)>: Unpin,
*const LeafNode<FontId, Arc<FontFile>> is !null: Unpin,
Box<(FontId, Arc<FontFile>)>: Unpin,
impl UnsafeUnpin for Outcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Edit>: UnsafeUnpin,
*const LeafNode<ImageId, Arc<ImageFile>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ImageId, Arc<ImageFile>)>>: UnsafeUnpin,
*const LeafNode<FontId, Arc<FontFile>> is !null: UnsafeUnpin,
PhantomData<Box<(FontId, Arc<FontFile>)>>: UnsafeUnpin,
PhantomData<NodeId>: UnsafeUnpin,
PhantomData<(NodeId, Node)>: UnsafeUnpin,
PhantomData<Problem>: UnsafeUnpin,
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