Struct yy_typings::script::Script [−][src]
pub struct Script {
pub is_dn_d: bool,
pub is_compatibility: bool,
pub parent: ViewPath,
pub resource_version: ResourceVersion,
pub name: String,
pub tags: Tags,
pub resource_type: ConstGmScript,
}
Fields
is_dn_d: bool
Is this used in DragNDrop? Hopefully not! that would get messy.
is_compatibility: bool
Is this an autogenerated compatibility script?
parent: ViewPath
The parent in the Gms2 virtual file system, ie. the parent which a user would see in the Navigation Pane in Gms2. This has no relationship to the actual operating system’s filesystem.
resource_version: ResourceVersion
The resource version of this yy file. At default 1.0.
name: String
The name of the object. This is the human readable name used in the IDE.
The tags given to the object.
resource_type: ConstGmScript
Const id tag of the object, given by Gms2.
Trait Implementations
fn 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
Auto Trait Implementations
impl RefUnwindSafe for Script
impl UnwindSafe for Script
Blanket Implementations
Mutably borrows from an owned value. Read more