pub enum RoomFormat {
Contiguous,
CommaSeparated,
}
Expand description
in very early versions of Bitsy, room tiles were defined as single alphanumeric characters - so there was a maximum of 36 unique tiles. later versions are comma-separated. RoomFormat is implemented here so we can save in the original format.
Variants§
Trait Implementations§
Source§impl Clone for RoomFormat
impl Clone for RoomFormat
Source§fn clone(&self) -> RoomFormat
fn clone(&self) -> RoomFormat
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 RoomFormat
impl Debug for RoomFormat
Source§impl Display for RoomFormat
impl Display for RoomFormat
Source§impl PartialEq for RoomFormat
impl PartialEq for RoomFormat
impl Copy for RoomFormat
impl Eq for RoomFormat
impl StructuralPartialEq for RoomFormat
Auto Trait Implementations§
impl Freeze for RoomFormat
impl RefUnwindSafe for RoomFormat
impl Send for RoomFormat
impl Sync for RoomFormat
impl Unpin for RoomFormat
impl UnwindSafe for RoomFormat
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