sokoban-elements 0.2.0

Parsing and writing Sokoban, Hexoban, Trioban and Octoban file formats.
Documentation
//! [`Octoban`](crate::Tessellation::Octoban) board text: parsing, printing and resizing.
//!
//! A stub by design, and it should stay one. Every method body comes from the `BoardParser` /
//! `BoardPrinter` / `BoardResizer` defaults in `parser.rs`; all this module declares is which
//! tessellation's padding rule those defaults apply. Shared behavior therefore belongs in a trait
//! default rather than here.

use super::parser::{BoardParser, BoardPrinter, BoardResizer};
use crate::Tessellation;

pub struct OctobanBoardParser {}

impl BoardParser for OctobanBoardParser {}

impl BoardPrinter for OctobanBoardParser {}

impl BoardResizer for OctobanBoardParser {
    const TESSELLATION: Tessellation = Tessellation::Octoban;
}