[][src]Struct yy_boss::FilesystemPath

pub struct FilesystemPath {
    pub name: String,
    pub path: PathBuf,
}

Paths on the File System.

If a user joins path with a yyp's absolute folder location, the resulting path will always point to a valid file.

path will always point to a file, and the file it points to will always have a .yy extension. The name field and the file_name of the path will always be equal to each other.

Fields

name: String

The human readable name of the parent. for a spr_player, this might correspond to Sprites.

path: PathBuf

The direct path from the .yyp directory to the resource needed. This is not directly related to parentage at all, as GMS2 does not use the FileSystem for parentage.

Trait Implementations

impl Clone for FilesystemPath[src]

impl Debug for FilesystemPath[src]

impl Default for FilesystemPath[src]

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

impl Eq for FilesystemPath[src]

impl Hash for FilesystemPath[src]

impl Ord for FilesystemPath[src]

impl PartialEq<FilesystemPath> for FilesystemPath[src]

impl PartialOrd<FilesystemPath> for FilesystemPath[src]

impl Serialize for FilesystemPath[src]

impl StructuralEq for FilesystemPath[src]

impl StructuralPartialEq for FilesystemPath[src]

impl YypSerialization for FilesystemPath[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>,