[][src]Struct yy_boss::YypFolder

pub struct YypFolder {
    pub folder_path: ViewPathLocation,
    pub order: usize,
    pub resource_version: ResourceVersion,
    pub name: String,
    pub tags: Vec<String>,
    pub resource_type: ConstGmFolder,
}

A YYP Folder. These form a graph, but each path is a full path from the root. Therefore, to create a tree, one must walk from the root to the final destination.

Fields

folder_path: ViewPathLocation

The full path from the root to the virtual folder location. The first part of the path is always folders. For top level folders, will look like "Folders/Fonts.yy", for example.

order: usize

The order within the subfolder. If custom ordering is added, then this will be the order as the resources appear within the tree structure. Otherwise, it is meaningless, and Gms2 appears to not keep in tracked or coherent.

resource_version: ResourceVersion

The resource version of this Resource. Currently "1.0".

name: String

The human-readable name of this Folder. The last part of the folder_path and this name should agree. Human readable names include examples such as "Sprites", "Light Data", or "Really Good Tiles".

tags: Vec<String>

Apparently tags can be placed here, even though they definitely can't. Don't do that.

resource_type: ConstGmFolder

The Resource Type of this folder, which is always "GMFolder".

Trait Implementations

impl Clone for YypFolder[src]

impl Debug for YypFolder[src]

impl Default for YypFolder[src]

fn default() -> YypFolder[src]

Return YypFolder { folder_path: Default::default(), order: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default(), resource_type: Default::default() }

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

impl Eq for YypFolder[src]

impl Hash for YypFolder[src]

impl Ord for YypFolder[src]

impl PartialEq<YypFolder> for YypFolder[src]

This is an ugly partialeq impl here. I'm just not sure what the best option is right now, especially when it comes to unit tests.

impl PartialOrd<YypFolder> for YypFolder[src]

impl Serialize for YypFolder[src]

impl YypSerialization for YypFolder[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> SetParameter for T

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>,