[−][src]Struct ssb_parser::Ssb
Raw SSB data, representing original input one-by-one (except empty lines and comments).
Fields
info_title: Option<String>
info_description: Option<String>
info_version: Option<String>
info_custom: HashMap<String, String>
target_width: Option<u16>
target_height: Option<u16>
target_depth: u16
target_view: View
macros: HashMap<String, String>
events: Vec<Event>
fonts: HashMap<FontFace, FontData>
textures: HashMap<TextureId, TextureDataVariant>
Methods
impl Ssb
[src]
pub fn parse_owned<R>(self, reader: R) -> Result<Self, ParseError> where
R: BufRead,
[src]
R: BufRead,
Parse SSB input and fill structure (which it owns and returns modified).
pub fn parse<R>(&mut self, reader: R) -> Result<&mut Self, ParseError> where
R: BufRead,
[src]
R: BufRead,
Parse SSB input and fill structure (which it borrows and returns as reference).
Trait Implementations
impl Clone for Ssb
[src]
impl Debug for Ssb
[src]
impl Default for Ssb
[src]
impl PartialEq<Ssb> for Ssb
[src]
impl StructuralPartialEq for Ssb
[src]
impl TryFrom<Ssb> for SsbRender
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ssb
impl Send for Ssb
impl Sync for Ssb
impl Unpin for Ssb
impl UnwindSafe for Ssb
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,