pub struct TraversalConfig {
pub max_depth: usize,
pub min_strength: f32,
pub max_results: usize,
}Expand description
Configuration for graph traversal operations.
Fields§
§max_depth: usizeMaximum number of hops to traverse.
min_strength: f32Minimum edge strength to follow.
max_results: usizeMaximum number of nodes to visit.
Implementations§
Trait Implementations§
Source§impl Clone for TraversalConfig
impl Clone for TraversalConfig
Source§fn clone(&self) -> TraversalConfig
fn clone(&self) -> TraversalConfig
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 TraversalConfig
impl Debug for TraversalConfig
Auto Trait Implementations§
impl Freeze for TraversalConfig
impl RefUnwindSafe for TraversalConfig
impl Send for TraversalConfig
impl Sync for TraversalConfig
impl Unpin for TraversalConfig
impl UnsafeUnpin for TraversalConfig
impl UnwindSafe for TraversalConfig
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