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§
impl Eq for TileSet
impl StructuralPartialEq for TileSet
Auto Trait Implementations§
impl Freeze for TileSet
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