[−][src]Struct yy_typings::object_yy::ObjectEvent
Fields
is_dn_d: bool
Is this event used in DragNDrop, the thing no one uses?
event_type: EventType
The type of the event. In the JSON, this is represented with two enums, but we use Serde to succesfully parse this into idiomatic Rust enums.
collision_object_id: Option<FilesystemPath>
The Id of the thing to collide with.
parent: FilesystemPath
Filesystem path pointing directly to the parent Object, such as:
{
"name": "obj_stairs",
"path": "objects/obj_stairs/obj_stairs.yy"
}
resource_version: ResourceVersion
The version of the .yy
file.
name: Option<String>
The "name" of the Event, which appears to always be null or an empty string
The tags for the event, which probably should always be empty.
resource_type: ConstGmEvent
The constant resource type for GmEvents.
Trait Implementations
impl Clone for ObjectEvent
[src]
fn clone(&self) -> ObjectEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectEvent
[src]
impl Default for ObjectEvent
[src]
fn default() -> Self
[src]
Return ObjectEvent { is_dn_d: Default::default(), event_type: Default::default(), collision_object_id: Default::default(), parent: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default(), resource_type: Default::default() }
impl<'de> Deserialize<'de> for ObjectEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ObjectEvent
[src]
impl Ord for ObjectEvent
[src]
fn cmp(&self, other: &ObjectEvent) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ObjectEvent> for ObjectEvent
[src]
fn eq(&self, other: &ObjectEvent) -> bool
[src]
fn ne(&self, other: &ObjectEvent) -> bool
[src]
impl PartialOrd<ObjectEvent> for ObjectEvent
[src]
fn partial_cmp(&self, other: &ObjectEvent) -> Option<Ordering>
[src]
fn lt(&self, other: &ObjectEvent) -> bool
[src]
fn le(&self, other: &ObjectEvent) -> bool
[src]
fn gt(&self, other: &ObjectEvent) -> bool
[src]
fn ge(&self, other: &ObjectEvent) -> bool
[src]
impl Serialize for ObjectEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ObjectEvent
[src]
impl StructuralPartialEq for ObjectEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ObjectEvent
impl Send for ObjectEvent
impl Sync for ObjectEvent
impl Unpin for ObjectEvent
impl UnwindSafe for ObjectEvent
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> 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,