[][src]Struct ssb_parser::SsbRender

pub struct SsbRender {
    pub target_width: Option<u16>,
    pub target_height: Option<u16>,
    pub target_depth: u16,
    pub target_view: View,
    pub events: Vec<EventRender>,
    pub fonts: HashMap<FontFace, FontData>,
    pub textures: HashMap<TextureId, TextureData>,
}

Processed SSB data, reduced and evaluated for rendering purposes.

Fields

target_width: Option<u16>target_height: Option<u16>target_depth: u16target_view: Viewevents: Vec<EventRender>fonts: HashMap<FontFace, FontData>textures: HashMap<TextureId, TextureData>

Trait Implementations

impl Clone for SsbRender[src]

impl Debug for SsbRender[src]

impl PartialEq<SsbRender> for SsbRender[src]

impl StructuralPartialEq for SsbRender[src]

impl TryFrom<Ssb> for SsbRender[src]

type Error = ParseError

The type returned in the event of a conversion error.

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