[][src]Struct yy_typings::ViewPathLocation

pub struct ViewPathLocation(pub String);

The path component will always end with .yy, even if it describes a virtual folder or file. Given the following Gms2 folder virtual system (not operating system file system):

folders/
    Sprites/
        spr_enemy.yy
        spr_player.yy

In this case, we would see the following ViewPaths, in Json form:

[
    { "name": "spr_enemy", "path": "folders/Sprites/spr_enemy.yy" },
    { "name": "spr_player", "path": "folders/Sprites/spr_player.yy" }
]

Implementations

impl ViewPathLocation[src]

pub fn inner(&self) -> &str[src]

pub fn root() -> ViewPathLocation[src]

Trait Implementations

impl Clone for ViewPathLocation[src]

impl Debug for ViewPathLocation[src]

impl Default for ViewPathLocation[src]

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

impl Display for ViewPathLocation[src]

impl Eq for ViewPathLocation[src]

impl Hash for ViewPathLocation[src]

impl Into<String> for ViewPathLocation[src]

impl Ord for ViewPathLocation[src]

impl PartialEq<ViewPathLocation> for ViewPathLocation[src]

impl PartialOrd<ViewPathLocation> for ViewPathLocation[src]

impl Serialize for ViewPathLocation[src]

impl StructuralEq for ViewPathLocation[src]

impl StructuralPartialEq for ViewPathLocation[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> ToString for T where
    T: Display + ?Sized
[src]

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