pub struct Node {
pub base: NodeBase,
pub kind: NodeKind,
pub source: Option<QualitySource>,
}Expand description
A node in the network graph (§2.4).
Fields§
§base: NodeBaseStatic properties common to all node types.
kind: NodeKindType-specific static data.
source: Option<QualitySource>At most one quality source per node (§2.7).
Trait Implementations§
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