pub struct NodeCore {
pub id: NodeId,
pub name: String,
pub scope: Option<ScopeId>,
pub context_size: u32,
pub span: SourceSpan,
pub doc_score: f32,
pub is_external: bool,
pub file_path: String,
}Expand description
Shared core attributes for all nodes
Fields§
§id: NodeId§name: String§scope: Option<ScopeId>§context_size: u32§span: SourceSpan§doc_score: f32§is_external: bool§file_path: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeCore
impl RefUnwindSafe for NodeCore
impl Send for NodeCore
impl Sync for NodeCore
impl Unpin for NodeCore
impl UnsafeUnpin for NodeCore
impl UnwindSafe for NodeCore
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