pub enum CellTag {
Empty,
Zone(u16),
Border(u16),
}Expand description
One decoded primary-grid cell. The wire form is the u16 the constants above describe; this decoder is shared by the runtime lookup, the format validator, and the encoder’s measurement tools, so the tag layout is interpreted in exactly one place.
Variants§
Empty
No zone covers the cell.
Zone(u16)
A single zone covers the cell; a lookup answers without any point-in-polygon test.
Border(u16)
A zone boundary passes through the cell; the value indexes the cell’s candidate list.
Implementations§
Trait Implementations§
impl Copy for CellTag
impl Eq for CellTag
impl StructuralPartialEq for CellTag
Auto Trait Implementations§
impl Freeze for CellTag
impl RefUnwindSafe for CellTag
impl Send for CellTag
impl Sync for CellTag
impl Unpin for CellTag
impl UnsafeUnpin for CellTag
impl UnwindSafe for CellTag
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