pub struct MapTileData {
pub flags: Flags,
pub texture_id: u16,
pub name: String,
}Expand description
Information about a given Map tile
Fields§
§flags: Flags§texture_id: u16Which TexMap to use instead if this tile is non-flat
name: StringTrait Implementations§
Source§impl Clone for MapTileData
impl Clone for MapTileData
Source§fn clone(&self) -> MapTileData
fn clone(&self) -> MapTileData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MapTileData
impl Debug for MapTileData
Source§impl PartialEq for MapTileData
impl PartialEq for MapTileData
Source§fn eq(&self, other: &MapTileData) -> bool
fn eq(&self, other: &MapTileData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MapTileData
impl StructuralPartialEq for MapTileData
Auto Trait Implementations§
impl Freeze for MapTileData
impl RefUnwindSafe for MapTileData
impl Send for MapTileData
impl Sync for MapTileData
impl Unpin for MapTileData
impl UnsafeUnpin for MapTileData
impl UnwindSafe for MapTileData
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