[][src]Struct lf2_parse::Header

pub struct Header {
    pub name: String,
    pub head: PathBuf,
    pub small: PathBuf,
    pub sprite_files: Vec<SpriteFile>,
    pub walking_frame_rate: u32,
    pub walking_speed: f32,
    pub walking_speed_z: f32,
    pub running_frame_rate: u32,
    pub running_speed: f32,
    pub running_speed_z: f32,
    pub heavy_walking_speed: f32,
    pub heavy_walking_speed_z: f32,
    pub heavy_running_speed: f32,
    pub heavy_running_speed_z: f32,
    pub jump_height: f32,
    pub jump_distance: f32,
    pub jump_distance_z: f32,
    pub dash_height: f32,
    pub dash_distance: f32,
    pub dash_distance_z: f32,
    pub rowing_height: f32,
    pub rowing_distance: f32,
}

Fields

name: Stringhead: PathBufsmall: PathBufsprite_files: Vec<SpriteFile>walking_frame_rate: u32walking_speed: f32walking_speed_z: f32running_frame_rate: u32running_speed: f32running_speed_z: f32heavy_walking_speed: f32heavy_walking_speed_z: f32heavy_running_speed: f32heavy_running_speed_z: f32jump_height: f32jump_distance: f32jump_distance_z: f32dash_height: f32dash_distance: f32dash_distance_z: f32rowing_height: f32rowing_distance: f32

Trait Implementations

impl Clone for Header[src]

impl Debug for Header[src]

impl Default for Header[src]

impl PartialEq<Header> for Header[src]

impl StructuralPartialEq for Header[src]

impl<'i> TryFrom<Pair<'i, Rule>> for Header[src]

type Error = Error<'i>

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Header

impl Send for Header

impl Sync for Header

impl Unpin for Header

impl UnwindSafe for Header

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