[−][src]Struct bitsy_parser::room::Room
Fields
id: Stringpalette_id: Option<String>palette ID was optional in very early versions
name: Option<String>tiles: Vec<String>tile IDs
items: Vec<Instance>exits: Vec<ExitInstance>endings: Vec<Instance>walls: Vec<String>old method of handling walls - a comma-separated list of tile IDs
Implementations
impl Room[src]
pub fn to_string(&self, room_format: RoomFormat, room_type: RoomType) -> String[src]
pub fn change_tile_ids(&mut self, changes: &HashMap<String, String>)[src]
"changes" is a hash of old -> new tile IDs
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,