[][src]Struct yy_typings::Extension

pub struct Extension {
    pub parent: ViewPath,
    pub resource_version: ResourceVersion,
    pub name: String,
    pub tags: Tags,
}

This is a bodge to handle the fact that we don't currently have support for many of the Gms2 yy-files. Eventually, we'd like to support all of them, but downstream crates need to have some basic support until then. For now, this can be used for all top level files, providing the simplest of support.

Fields

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.

Trait Implementations

impl Clone for Extension[src]

impl Debug for Extension[src]

impl Default for Extension[src]

pub fn default() -> Self[src]

Return Extension { parent: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default() }

impl<'de> Deserialize<'de> for Extension[src]

impl PartialEq<Extension> for Extension[src]

impl Serialize for Extension[src]

impl StructuralPartialEq for Extension[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,