pub enum Owner {
Place(NodeId),
Ground,
Nobody,
Contested(Vec<NodeId>),
}Expand description
Who writes a cell (spec-0098 §2, rules 0–4).
Variants§
Place(NodeId)
The named place — its piece once bound, its stand-in while not.
Ground
The ring’s fixed ground (rule 0): the whole’s terrain, written by no piece.
Nobody
Nobody (rule 4): what a volume declares there, else the site’s fill.
Contested(Vec<NodeId>)
Two or more places claim the cell and no rule awards it (rule 3d) — a
plan DW0827 refuses. Named so that a refused plan still answers.
Implementations§
Trait Implementations§
impl Eq for Owner
Source§impl Ord for Owner
impl Ord for Owner
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Owner
impl PartialOrd for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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