pub struct PathFindConfig {
pub steps: Vec<PathStepConfig>,
pub limit: Option<usize>,
pub allow_cycles: bool,
}Expand description
Configuration for path finding.
Fields§
§steps: Vec<PathStepConfig>Path steps to match.
limit: Option<usize>Maximum number of results to return (None for unlimited).
allow_cycles: boolWhether to allow cycles in the path.
Trait Implementations§
Source§impl Clone for PathFindConfig
impl Clone for PathFindConfig
Source§fn clone(&self) -> PathFindConfig
fn clone(&self) -> PathFindConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PathFindConfig
impl RefUnwindSafe for PathFindConfig
impl Send for PathFindConfig
impl Sync for PathFindConfig
impl Unpin for PathFindConfig
impl UnwindSafe for PathFindConfig
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