Struct ct_tilemap::TileSet
source · pub struct TileSet {
pub path: String,
pub transparent_color: (u8, u8, u8),
}Expand description
A tileset in the image.
Fields§
§path: StringPath to the tileset image.
transparent_color: (u8, u8, u8)Color treated as transparent.
Implementations§
Trait Implementations§
source§impl PartialEq for TileSet
impl PartialEq for TileSet
impl Eq for TileSet
impl StructuralEq for TileSet
impl StructuralPartialEq for TileSet
Auto Trait Implementations§
impl RefUnwindSafe for TileSet
impl Send for TileSet
impl Sync for TileSet
impl Unpin for TileSet
impl UnwindSafe for TileSet
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