pub struct FlowQuery {
pub elements: Vec<EntityId>,
pub used_undirected: bool,
}Expand description
The answer to a directed query.
Fields§
§elements: Vec<EntityId>Elements reached, ascending by id. Excludes the starting element.
Ascending rather than discovery order: BFS order depends on adjacency insertion, so two files stating the same network could disagree. A caller wanting distance should ask for it explicitly.
used_undirected: boolWhether any traversed edge had unstated direction.
true means the result depends on treating an unstated port as
bidirectional. The elements are still correct as a superset, but the
file did not actually license all of them.
Trait Implementations§
impl Eq for FlowQuery
impl StructuralPartialEq for FlowQuery
Auto Trait Implementations§
impl Freeze for FlowQuery
impl RefUnwindSafe for FlowQuery
impl Send for FlowQuery
impl Sync for FlowQuery
impl Unpin for FlowQuery
impl UnsafeUnpin for FlowQuery
impl UnwindSafe for FlowQuery
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