pub struct GraphHub {
pub id: String,
pub label: String,
pub degree: usize,
}Expand description
A well-connected concept, for the entry list.
Fields§
§id: StringThe concept id.
label: StringIts title.
degree: usizeHow many distinct concepts this one is linked to, in either direction.
Distinct neighbours rather than a link count, and undirected, because this ranks how connected a concept is rather than how much it links: a concept naming the same target six times is one connection, and a bundle ranked the other way would put its most repetitive documents on top.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphHub
impl RefUnwindSafe for GraphHub
impl Send for GraphHub
impl Sync for GraphHub
impl Unpin for GraphHub
impl UnsafeUnpin for GraphHub
impl UnwindSafe for GraphHub
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