pub struct RenderedNode {
pub icon: &'static str,
pub label: String,
pub css_class: &'static str,
pub holds: bool,
pub is_leaf: bool,
pub inline: bool,
pub children: Vec<RenderedNode>,
}Expand description
A rendered proof node: everything the text and component renderers need, computed once. Children are rendered recursively.
Fields§
§icon: &'static str§label: String§css_class: &'static str§holds: bool§is_leaf: bool§inline: boolA memoized back-reference (ProofRef): the UI renders it inline without
expanding the already-shown subtree (so its children are left empty).
children: Vec<RenderedNode>Trait Implementations§
Source§impl Clone for RenderedNode
impl Clone for RenderedNode
Source§fn clone(&self) -> RenderedNode
fn clone(&self) -> RenderedNode
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 RenderedNode
impl Debug for RenderedNode
Source§impl PartialEq for RenderedNode
impl PartialEq for RenderedNode
impl StructuralPartialEq for RenderedNode
Auto Trait Implementations§
impl Freeze for RenderedNode
impl RefUnwindSafe for RenderedNode
impl Send for RenderedNode
impl Sync for RenderedNode
impl Unpin for RenderedNode
impl UnsafeUnpin for RenderedNode
impl UnwindSafe for RenderedNode
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