Struct yy_typings::object_yy::ObjectOverrideProperty [−][src]
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
property_id: 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.
resource_version: ResourceVersion
The resource version for this property override
name: String
The name of the property, which appears to always be an empty string.
The tags assigned to the property. Probably shouldn’t be assigned.
resource_type: ConstGmObjectOverrideProperty
The resource type const of the property.
Trait Implementations
impl Clone for ObjectOverrideProperty
[src]
fn clone(&self) -> ObjectOverrideProperty
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectOverrideProperty
[src]
impl Default for ObjectOverrideProperty
[src]
fn default() -> Self
[src]
Return ObjectOverrideProperty { property_id: Default::default(), object_id: Default::default(), value: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default(), resource_type: Default::default() }
impl<'de> Deserialize<'de> for ObjectOverrideProperty
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ObjectOverrideProperty> for ObjectOverrideProperty
[src]
fn eq(&self, other: &ObjectOverrideProperty) -> bool
[src]
fn ne(&self, other: &ObjectOverrideProperty) -> bool
[src]
impl PartialOrd<ObjectOverrideProperty> for ObjectOverrideProperty
[src]
fn partial_cmp(&self, other: &ObjectOverrideProperty) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for ObjectOverrideProperty
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ObjectOverrideProperty
[src]
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
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,