Struct yy_typings::YypFolder [−][src]
pub struct YypFolder {
pub folder_path: ViewPathLocation,
pub order: usize,
pub resource_version: ResourceVersion,
pub name: String,
pub tags: Tags,
pub resource_type: ConstGmFolder,
}
Expand description
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”.
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
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for YypFolder
impl UnwindSafe for YypFolder
Blanket Implementations
Mutably borrows from an owned value. Read more