pub struct Node {
pub kind: String,
pub title: String,
pub href: Option<String>,
}Expand description
What a page knows about an element a view may draw: its kind, the
name its node carries on hover, and a link to where it is
documented (None for an element the page itself documents).
Fields§
§kind: String§title: String§href: Option<String>Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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