Struct yy_typings::room::Instance
source · [−]pub struct Instance {Show 21 fields
pub properties: Vec<ObjectOverrideProperty>,
pub is_dnd: bool,
pub object_id: ViewPath,
pub inherit_code: bool,
pub has_creation_code: bool,
pub color: u32,
pub rotation: f64,
pub scale_x: f64,
pub scale_y: f64,
pub image_index: i32,
pub image_speed: f64,
pub inherited_item_id: Option<ViewPath>,
pub frozen: bool,
pub ignore: bool,
pub inherit_item_settings: bool,
pub x: f64,
pub y: f64,
pub resource_version: ResourceVersion,
pub name: String,
pub tags: Tags,
pub resource_type: ConstGmInstance,
}
Fields
properties: Vec<ObjectOverrideProperty>
is_dnd: bool
object_id: ViewPath
inherit_code: bool
has_creation_code: bool
color: u32
rotation: f64
scale_x: f64
scale_y: f64
image_index: i32
image_speed: f64
inherited_item_id: Option<ViewPath>
frozen: bool
ignore: bool
inherit_item_settings: bool
x: f64
y: f64
resource_version: ResourceVersion
name: String
resource_type: ConstGmInstance
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Instance
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more