pub struct RenderedAnchor {
pub name: String,
pub line: u32,
}Expand description
Anchor extracted by render_introspection. The line index points
at the section’s heading row in the rendered body; a follower
scrolls the help buffer to (or near) this row.
Fields§
§name: StringThe anchor name from HelpSection::anchor.
line: u320-based index into RenderedIntrospection::lines of the heading.
Trait Implementations§
Source§impl Clone for RenderedAnchor
impl Clone for RenderedAnchor
Source§fn clone(&self) -> RenderedAnchor
fn clone(&self) -> RenderedAnchor
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 RenderedAnchor
impl Debug for RenderedAnchor
impl Eq for RenderedAnchor
Source§impl PartialEq for RenderedAnchor
impl PartialEq for RenderedAnchor
impl StructuralPartialEq for RenderedAnchor
Auto Trait Implementations§
impl Freeze for RenderedAnchor
impl RefUnwindSafe for RenderedAnchor
impl Send for RenderedAnchor
impl Sync for RenderedAnchor
impl Unpin for RenderedAnchor
impl UnsafeUnpin for RenderedAnchor
impl UnwindSafe for RenderedAnchor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.