#[non_exhaustive]
pub enum OutputNode {
Value(Value),
List(Vec<OutputNode>),
Annotated(Annotation, Box<OutputNode>),
}
Expand description
A naive representation of tree structured output by dice programs.
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.
Value(Value)
List(Vec<OutputNode>)
Annotated(Annotation, Box<OutputNode>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutputNode
impl Send for OutputNode
impl Sync for OutputNode
impl Unpin for OutputNode
impl UnwindSafe for OutputNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more