pub struct Element {
pub id: Id,
pub kind: ElementKind,
pub title: String,
pub description: Option<String>,
pub technology: Option<String>,
pub path: Option<String>,
pub tags: Vec<String>,
}Fields§
§id: Id§kind: ElementKind§title: String§description: Option<String>The first paragraph of the module’s own docs, markdown kept.
technology: Option<String>library crate, binary crate, test crate and the rest of the
front-end’s labels, or whatever the config says for an external.
path: Option<String>Relative to the surveyed root, /-separated on every platform.
None for an external.
Trait Implementations§
impl Eq for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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