[][src]Struct ldtk_rust::Entity

pub struct Entity {
    pub identifier: String,
    pub uid: i32,
    pub width: i32,
    pub height: i32,
    pub color: String,
    pub render_mode: String,
    pub show_name: bool,
    pub tileset_id: Option<i32>,
    pub tile_id: Option<i32>,
    pub tile_render_mode: String,
    pub max_per_level: i32,
    pub limit_behavior: String,
    pub pivot_x: f32,
    pub pivot_y: f32,
    pub field_defs: Vec<FieldDefs>,
}

Fields

identifier: Stringuid: i32width: i32height: i32color: Stringrender_mode: Stringshow_name: booltileset_id: Option<i32>tile_id: Option<i32>tile_render_mode: Stringmax_per_level: i32limit_behavior: Stringpivot_x: f32pivot_y: f32field_defs: Vec<FieldDefs>

Trait Implementations

impl Debug for Entity[src]

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

Auto Trait Implementations

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, 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.