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.

tags: Tags

The tags given to the object.

resource_type: ConstGmScript

Const id tag of the object, given by Gms2.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return Script { is_dn_d: Default::default(), is_compatibility: Default::default(), parent: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default(), resource_type: Default::default() }

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.