Struct bitsy_parser::tile::Tile [−][src]
pub struct Tile {
pub id: String,
pub name: Option<String>,
pub wall: Option<bool>,
pub animation_frames: Vec<Image>,
pub colour_id: Option<u64>,
}
Fields
id: String
name: Option<String>
wall: Option<bool>
this is “optional” in that a tile can have WAL true
, WAL false
or neither
obviously Some(false) is the same as None but we want to preserve the original formatting
animation_frames: Vec<Image>
colour_id: Option<u64>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tile
impl UnwindSafe for Tile
Blanket Implementations
Mutably borrows from an owned value. Read more