Struct twmap::Tile[][src]

#[repr(C)]pub struct Tile {
    pub id: u8,
    pub flags: TileFlags,
    // some fields omitted
}

Fields

id: u8flags: TileFlags

Implementations

impl Tile[src]

pub fn new(id: u8, flags: TileFlags) -> Self[src]

Constructor, required due to unused bytes which will be set to 0.

Trait Implementations

impl AnyTile for Tile[src]

impl Clone for Tile[src]

impl Copy for Tile[src]

impl Debug for Tile[src]

impl Default for Tile[src]

impl<'de> Deserialize<'de> for Tile[src]

impl PartialEq<Tile> for Tile[src]

impl Serialize for Tile[src]

impl StructuralPartialEq for Tile[src]

impl TileChecking for Tile[src]

impl TileFlipping for Tile[src]

impl View for Tile[src]

impl ZeroUnusedTileParts for Tile[src]

Auto Trait Implementations

impl RefUnwindSafe for Tile

impl Send for Tile

impl Sync for Tile

impl Unpin for Tile

impl UnwindSafe for Tile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,