pub struct Room {
Show 17 fields pub common_data: CommonData<ConstGmRoom>, pub is_dnd: bool, pub volume: f64, pub parent_room: Option<ViewPath>, pub views: Vec<RoomView>, pub layers: Vec<Layer>, pub inherit_layers: bool, pub creation_code_file: String, pub inherit_code: bool, pub instance_creation_order: Vec<ViewPath>, pub inherit_creation_order: bool, pub sequence_id: Option<()>, pub room_settings: RoomSettings, pub view_settings: ViewSettings, pub physics_settings: PhysicsSettings, pub parent: ViewPath, pub tags: Tags,
}

Fields

common_data: CommonData<ConstGmRoom>

Common data

is_dnd: bool

Is this used in DragNDrop? Hopefully not! that would get messy.

volume: f64

A volume? I have no idea where this appears in the UI. Appears to be a number between 0.0 and 1.0.

parent_room: Option<ViewPath>

The path of the parent room.

views: Vec<RoomView>

Eight (at least) views. Most users won’t have anything meaningful here.

layers: Vec<Layer>

The layers of data which are in the room.

inherit_layers: bool

This is only meaningful if parent_room is Some.

creation_code_file: String

The relative subpath of the creation code for this room, if it exists.

inherit_code: boolinstance_creation_order: Vec<ViewPath>inherit_creation_order: boolsequence_id: Option<()>room_settings: RoomSettingsview_settings: ViewSettingsphysics_settings: PhysicsSettingsparent: ViewPathtags: Tags

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.