pub struct RenderedIntrospection {
pub lines: Vec<String>,
pub anchors: Vec<RenderedAnchor>,
}Expand description
Output of render_introspection. Returns both the rendered
lines AND any anchors recorded during rendering. Hosts wrap
lines into a HelpBuffer’s content and feed anchors into the
HelpBuffer’s anchor index.
Fields§
§lines: Vec<String>The help body, one entry per line, no trailing newlines.
anchors: Vec<RenderedAnchor>Every anchored section’s heading position, in render order.
Trait Implementations§
Source§impl Clone for RenderedIntrospection
impl Clone for RenderedIntrospection
Source§fn clone(&self) -> RenderedIntrospection
fn clone(&self) -> RenderedIntrospection
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 moreAuto Trait Implementations§
impl Freeze for RenderedIntrospection
impl RefUnwindSafe for RenderedIntrospection
impl Send for RenderedIntrospection
impl Sync for RenderedIntrospection
impl Unpin for RenderedIntrospection
impl UnsafeUnpin for RenderedIntrospection
impl UnwindSafe for RenderedIntrospection
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