pub struct Rebus {
pub grid: Vec<Vec<u8>>,
pub table: HashMap<u8, String>,
}Expand description
Rebus information for squares containing multiple letters.
A rebus allows a single square to contain multiple letters or words. The grid indicates which squares are rebus squares, and the table maps rebus keys to their string values.
Fields§
§grid: Vec<Vec<u8>>Grid indicating rebus keys (0 = no rebus, 1-255 = rebus key)
table: HashMap<u8, String>Mapping of rebus keys to their string values
Trait Implementations§
impl StructuralPartialEq for Rebus
Auto Trait Implementations§
impl Freeze for Rebus
impl RefUnwindSafe for Rebus
impl Send for Rebus
impl Sync for Rebus
impl Unpin for Rebus
impl UnwindSafe for Rebus
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