[][src]Struct yy_typings::ViewPath

pub struct ViewPath {
    pub name: String,
    pub path: ViewPathLocation,
}

Viewpaths in the virtual file system created by the Folders in the Yyp, deliminated by /, and with a ViewPathLocation which ends in .yy.\ or in .yyp.

Please note, the Default implementation in this type is never a valid option. It is provided for convenience, but the default Root for any file not in a folder is as follows:

let root_path = ViewPath {
    name: PROJECT_NAME.to_string(),
    path: ViewPathLocation(format!("{}.yyp", PROJECT_NAME))
};

Fields

name: String

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

path: ViewPathLocation

The path to the view member itself.

Trait Implementations

impl Clone for ViewPath[src]

impl Debug for ViewPath[src]

impl Default for ViewPath[src]

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

impl Eq for ViewPath[src]

impl Hash for ViewPath[src]

impl Ord for ViewPath[src]

impl PartialEq<ViewPath> for ViewPath[src]

impl PartialOrd<ViewPath> for ViewPath[src]

impl Serialize for ViewPath[src]

impl StructuralEq for ViewPath[src]

impl StructuralPartialEq for ViewPath[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, 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>,