pub struct ReconnectData {
pub above: FxHashMap<ReconnectEdge, Option<BoxSlice<RawNodeIndex>>>,
pub transitive: FxHashSet<ReconnectFrom>,
}
Fields§
§above: FxHashMap<ReconnectEdge, Option<BoxSlice<RawNodeIndex>>>
Edges, along with a path if they have only a single one possible.
transitive: FxHashSet<ReconnectFrom>
These should not be added to above
since they can be transitively
reached.
Implementations§
Source§impl ReconnectData
impl ReconnectData
pub fn insert( &mut self, edge: ReconnectEdge, path: Option<&[RawNodeIndex]>, prev: Option<RawNodeIndex>, )
pub fn extend(&mut self, other: &Self, prev: RawNodeIndex, hidden: bool)
pub fn reached_visible(&mut self, other: &Self, prev: RawNodeIndex)
Trait Implementations§
Source§impl Debug for ReconnectData
impl Debug for ReconnectData
Source§impl Default for ReconnectData
impl Default for ReconnectData
Source§fn default() -> ReconnectData
fn default() -> ReconnectData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReconnectData
impl RefUnwindSafe for ReconnectData
impl Send for ReconnectData
impl Sync for ReconnectData
impl Unpin for ReconnectData
impl UnwindSafe for ReconnectData
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more