pub struct ContextSlice {
pub seed: PathBuf,
pub nodes: Vec<ContextNode>,
}Expand description
The readable working-set digest neighborhood returns: the seed plus the
reached nodes with their summaries and connections. The relationship-axis
“turn a seed into context” primitive.
Fields§
§seed: PathBufThe seed the slice was hydrated from.
nodes: Vec<ContextNode>The reached nodes (excluding the seed), in BFS order.
Trait Implementations§
Source§impl Clone for ContextSlice
impl Clone for ContextSlice
Source§fn clone(&self) -> ContextSlice
fn clone(&self) -> ContextSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextSlice
impl Debug for ContextSlice
Source§impl PartialEq for ContextSlice
impl PartialEq for ContextSlice
Source§fn eq(&self, other: &ContextSlice) -> bool
fn eq(&self, other: &ContextSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ContextSlice
impl StructuralPartialEq for ContextSlice
Auto Trait Implementations§
impl Freeze for ContextSlice
impl RefUnwindSafe for ContextSlice
impl Send for ContextSlice
impl Sync for ContextSlice
impl Unpin for ContextSlice
impl UnsafeUnpin for ContextSlice
impl UnwindSafe for ContextSlice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.