pub enum LeanWorkerRendering {
Pretty,
Raw,
}Expand description
Which rendering path produced a LeanWorkerRendered::value.
Variants§
Pretty
Rendered via Lean.PrettyPrinter.ppExpr (notation-aware).
Raw
Rendered via Expr.toString (deterministic, no notation). Either the
meta_pp_expr shim was absent on the loaded capability, or the
pretty-printer reported Unsupported.
Trait Implementations§
Source§impl Clone for LeanWorkerRendering
impl Clone for LeanWorkerRendering
Source§fn clone(&self) -> LeanWorkerRendering
fn clone(&self) -> LeanWorkerRendering
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeanWorkerRendering
impl Debug for LeanWorkerRendering
Source§impl<'de> Deserialize<'de> for LeanWorkerRendering
impl<'de> Deserialize<'de> for LeanWorkerRendering
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LeanWorkerRendering
impl PartialEq for LeanWorkerRendering
Source§fn eq(&self, other: &LeanWorkerRendering) -> bool
fn eq(&self, other: &LeanWorkerRendering) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerRendering
impl Serialize for LeanWorkerRendering
impl Copy for LeanWorkerRendering
impl Eq for LeanWorkerRendering
impl StructuralPartialEq for LeanWorkerRendering
Auto Trait Implementations§
impl Freeze for LeanWorkerRendering
impl RefUnwindSafe for LeanWorkerRendering
impl Send for LeanWorkerRendering
impl Sync for LeanWorkerRendering
impl Unpin for LeanWorkerRendering
impl UnsafeUnpin for LeanWorkerRendering
impl UnwindSafe for LeanWorkerRendering
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