pub struct PuzzleInfo {
pub title: String,
pub author: String,
pub copyright: String,
pub notes: String,
pub width: u8,
pub height: u8,
pub version: String,
pub is_scrambled: bool,
}Expand description
Basic information about the puzzle.
Contains metadata like title, author, dimensions, and format information.
Fields§
§title: StringPuzzle title
Author name(s)
copyright: StringCopyright information
notes: StringAdditional notes or instructions
width: u8Grid width (number of columns)
height: u8Grid height (number of rows)
version: StringFile format version
is_scrambled: boolWhether the puzzle solution is scrambled
Trait Implementations§
Source§impl Clone for PuzzleInfo
impl Clone for PuzzleInfo
Source§fn clone(&self) -> PuzzleInfo
fn clone(&self) -> PuzzleInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PuzzleInfo
impl Debug for PuzzleInfo
Source§impl PartialEq for PuzzleInfo
impl PartialEq for PuzzleInfo
impl StructuralPartialEq for PuzzleInfo
Auto Trait Implementations§
impl Freeze for PuzzleInfo
impl RefUnwindSafe for PuzzleInfo
impl Send for PuzzleInfo
impl Sync for PuzzleInfo
impl Unpin for PuzzleInfo
impl UnwindSafe for PuzzleInfo
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