Struct yy_typings::object_yy::ObjectOverrideProperty
source · [−]pub struct ObjectOverrideProperty {
pub common_data: CommonData<ConstGmObjectOverrideProperty>,
pub property_id: Option<FilesystemPath>,
pub object_id: FilesystemPath,
pub value: String,
}
Expand description
Object “properties” are set in the Gms2 window and allow the user to override those properties either in child objects of a parent, or in the Room (or both!). This allows for simple customization in the room editor.
Fields
common_data: CommonData<ConstGmObjectOverrideProperty>
property_id: Option<FilesystemPath>
This is not a real filesystem path, but instead just looks like one.
Eventually, this will receive better typing. @todo
The name
is the name of the prperty, and the path
is to the
ORIGINATOR of the property.
object_id: FilesystemPath
The path to the object which this property last overrides.
value: String
The serialized value of the property type. This corresponds exactly to what the Gms2 box will have inside it as a string.
Trait Implementations
sourceimpl Clone for ObjectOverrideProperty
impl Clone for ObjectOverrideProperty
sourcefn clone(&self) -> ObjectOverrideProperty
fn clone(&self) -> ObjectOverrideProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjectOverrideProperty
impl Debug for ObjectOverrideProperty
sourceimpl Default for ObjectOverrideProperty
impl Default for ObjectOverrideProperty
sourceimpl<'de> Deserialize<'de> for ObjectOverrideProperty
impl<'de> Deserialize<'de> for ObjectOverrideProperty
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
sourceimpl PartialEq<ObjectOverrideProperty> for ObjectOverrideProperty
impl PartialEq<ObjectOverrideProperty> for ObjectOverrideProperty
sourcefn eq(&self, other: &ObjectOverrideProperty) -> bool
fn eq(&self, other: &ObjectOverrideProperty) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<ObjectOverrideProperty> for ObjectOverrideProperty
impl PartialOrd<ObjectOverrideProperty> for ObjectOverrideProperty
sourcefn partial_cmp(&self, other: &ObjectOverrideProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectOverrideProperty) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for ObjectOverrideProperty
impl Serialize for ObjectOverrideProperty
impl StructuralPartialEq for ObjectOverrideProperty
Auto Trait Implementations
impl RefUnwindSafe for ObjectOverrideProperty
impl Send for ObjectOverrideProperty
impl Sync for ObjectOverrideProperty
impl Unpin for ObjectOverrideProperty
impl UnwindSafe for ObjectOverrideProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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