pub struct RoutingFrameKey { /* private fields */ }
Expand description
Key used to deduplicate routing frames.
Implementations§
Source§impl RoutingFrameKey
impl RoutingFrameKey
Sourcepub fn new(frame: &RoutingFrame) -> Self
pub fn new(frame: &RoutingFrame) -> Self
Constructs a RoutingFrameKey
from a RoutingFrame
.
This key uniquely identifies a routing frame by its coordinate
(here
), current dimension, and normalized selection. It is
used during traversal for purposes such as deduplication and
memoization.
Trait Implementations§
Source§impl Debug for RoutingFrameKey
impl Debug for RoutingFrameKey
Source§impl Hash for RoutingFrameKey
impl Hash for RoutingFrameKey
Source§impl PartialEq for RoutingFrameKey
impl PartialEq for RoutingFrameKey
impl Eq for RoutingFrameKey
impl StructuralPartialEq for RoutingFrameKey
Auto Trait Implementations§
impl Freeze for RoutingFrameKey
impl RefUnwindSafe for RoutingFrameKey
impl Send for RoutingFrameKey
impl Sync for RoutingFrameKey
impl Unpin for RoutingFrameKey
impl UnwindSafe for RoutingFrameKey
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