[][src]Struct screen_13::pak::Pak

pub struct Pak<R> where
    R: Read + Seek
{ /* fields omitted */ }

Implementations

impl Pak<BufReader<File>>[src]

pub fn open<P: AsRef<Path>>(path: P) -> Result<Self, Error>[src]

impl<R> Pak<R> where
    R: Read + Seek
[src]

pub fn animation_id<K: AsRef<str>>(&self, key: K) -> Option<AnimationId>[src]

pub fn bitmap_id<K: AsRef<str>>(&self, key: K) -> Option<BitmapId>[src]

pub fn bitmap_font_id<K: AsRef<str>>(&self, key: K) -> Option<BitmapFontId>[src]

pub fn blob_id<K: AsRef<str>>(&self, key: K) -> Option<BlobId>[src]

pub fn material_id<K: AsRef<str>>(&self, key: K) -> Option<MaterialId>[src]

pub fn material<K: AsRef<str>>(&self, key: K) -> Material[src]

pub fn material_with_id(&self, id: MaterialId) -> Material[src]

pub fn model_id<K: AsRef<str>>(&self, key: K) -> Option<ModelId>[src]

pub fn scene_id<K: AsRef<str>>(&self, key: K) -> Option<SceneId>[src]

pub fn text<K: AsRef<str>>(&self, key: K) -> Cow<'_, str>[src]

pub fn text_id<K: AsRef<str>>(&self, key: K) -> Option<TextId>[src]

pub fn text_locale<K: AsRef<str>, L: AsRef<str>>(
    &self,
    key: K,
    locale: L
) -> Cow<'_, str>
[src]

pub fn text_raw<K: AsRef<str>>(&self, key: K) -> Cow<'_, str>[src]

pub fn read_animation(&mut self, id: AnimationId) -> Animation[src]

pub fn read_bitmap(&mut self, id: BitmapId) -> Bitmap[src]

pub fn read_bitmap_font(&mut self, id: BitmapFontId) -> BitmapFont[src]

pub fn read_blob(&mut self, id: BlobId) -> Vec<u8>[src]

pub fn read_model(&mut self, id: ModelId) -> Model[src]

pub fn read_scene(&mut self, id: SceneId) -> Scene[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Pak<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for Pak<R> where
    R: Send
[src]

impl<R> Sync for Pak<R> where
    R: Sync
[src]

impl<R> Unpin for Pak<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for Pak<R> where
    R: UnwindSafe
[src]

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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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.