pub struct TileDef {
pub name: String,
pub animation: TileAnimationParams,
pub backface_culling: bool,
pub tileable_horizontal: bool,
pub tileable_vertical: bool,
pub color_rgb: Option<(u8, u8, u8)>,
pub scale: u8,
pub align_style: AlignStyle,
}
Fields§
§name: String
§animation: TileAnimationParams
§backface_culling: bool
§tileable_horizontal: bool
§tileable_vertical: bool
§color_rgb: Option<(u8, u8, u8)>
§scale: u8
§align_style: AlignStyle
Trait Implementations§
Source§impl Deserialize for TileDef
impl Deserialize for TileDef
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
impl StructuralPartialEq for TileDef
Auto Trait Implementations§
impl Freeze for TileDef
impl RefUnwindSafe for TileDef
impl Send for TileDef
impl Sync for TileDef
impl Unpin for TileDef
impl UnwindSafe for TileDef
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