pub enum MiddleMark {
Unknown,
Left,
Right,
Both,
Empty,
}Expand description
LPCMCI middle mark on an edge (Gerhardus & Runge 2020).
Intermediate search state; a converged PAG has only MiddleMark::Empty.
Variants§
Unknown
Unknown (?) — no adjacency claim yet.
Left
Left (L) — search among parents of the later/ordered endpoint exhausted.
Right
Right (R) — search among parents of the earlier/ordered endpoint exhausted.
Both
Both (!) — Left and Right both hold.
Empty
Empty (-) — definite adjacency in the MAG / final PAG.
Implementations§
Source§impl MiddleMark
impl MiddleMark
Sourcepub const fn is_definite(self) -> bool
pub const fn is_definite(self) -> bool
Whether this is a definite adjacency mark (empty middle).
Trait Implementations§
Source§impl Clone for MiddleMark
impl Clone for MiddleMark
Source§fn clone(&self) -> MiddleMark
fn clone(&self) -> MiddleMark
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MiddleMark
Source§impl Debug for MiddleMark
impl Debug for MiddleMark
Source§impl Default for MiddleMark
impl Default for MiddleMark
Source§fn default() -> MiddleMark
fn default() -> MiddleMark
Returns the “default value” for a type. Read more
impl Eq for MiddleMark
Source§impl Hash for MiddleMark
impl Hash for MiddleMark
Source§impl PartialEq for MiddleMark
impl PartialEq for MiddleMark
impl StructuralPartialEq for MiddleMark
Auto Trait Implementations§
impl Freeze for MiddleMark
impl RefUnwindSafe for MiddleMark
impl Send for MiddleMark
impl Sync for MiddleMark
impl Unpin for MiddleMark
impl UnsafeUnpin for MiddleMark
impl UnwindSafe for MiddleMark
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