[−][src]Struct yy_typings::YypFolder
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
impl Clone for YypFolder
[src]
impl Debug for YypFolder
[src]
impl Default for YypFolder
[src]
pub fn default() -> Self
[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]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for YypFolder
[src]
impl Hash for YypFolder
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for YypFolder
[src]
pub fn cmp(&self, other: &YypFolder) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<YypFolder> for YypFolder
[src]
impl PartialOrd<YypFolder> for YypFolder
[src]
pub fn partial_cmp(&self, other: &YypFolder) -> Option<Ordering>
[src]
pub fn lt(&self, other: &YypFolder) -> bool
[src]
pub fn le(&self, other: &YypFolder) -> bool
[src]
pub fn gt(&self, other: &YypFolder) -> bool
[src]
pub fn ge(&self, other: &YypFolder) -> bool
[src]
impl Serialize for YypFolder
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for YypFolder
[src]
impl StructuralPartialEq for YypFolder
[src]
Auto Trait Implementations
impl RefUnwindSafe for YypFolder
[src]
impl Send for YypFolder
[src]
impl Sync for YypFolder
[src]
impl Unpin for YypFolder
[src]
impl UnwindSafe for YypFolder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,