pub struct BfsConfig {
pub max_distance: u32,
pub bidirectional: bool,
}Expand description
BFS configuration.
Fields§
§max_distance: u32Maximum distance to explore.
bidirectional: boolEnable bidirectional BFS for single-source single-target.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BfsConfig
impl RefUnwindSafe for BfsConfig
impl Send for BfsConfig
impl Sync for BfsConfig
impl Unpin for BfsConfig
impl UnwindSafe for BfsConfig
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