[][src]Struct bitsy_parser::room::Room

pub struct Room {
    pub id: u64,
    pub palette_id: Option<u64>,
    pub name: Option<String>,
    pub tiles: Vec<String>,
    pub items: Vec<Instance>,
    pub exits: Vec<ExitInstance>,
    pub endings: Vec<Instance>,
    pub walls: Vec<u64>,
}

Fields

id: u64palette_id: Option<u64>name: Option<String>tiles: Vec<String>items: Vec<Instance>exits: Vec<ExitInstance>endings: Vec<Instance>walls: Vec<u64>

Implementations

impl Room[src]

pub fn to_string(&self, room_format: RoomFormat, room_type: RoomType) -> String[src]

Trait Implementations

impl Clone for Room[src]

impl Debug for Room[src]

impl Eq for Room[src]

impl From<String> for Room[src]

impl PartialEq<Room> for Room[src]

impl StructuralEq for Room[src]

impl StructuralPartialEq for Room[src]

Auto Trait Implementations

impl RefUnwindSafe for Room

impl Send for Room

impl Sync for Room

impl Unpin for Room

impl UnwindSafe for Room

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> From<T> for T[src]

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

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.