pub struct Decoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Decoder<'a>
impl<'a> Decoder<'a>
pub fn decode(data: &'a [u8]) -> Result<Self, DecodeError>
pub fn comments(&self) -> &Comments<'_>
pub fn palette_kind(&self) -> PaletteKind
pub fn version(&self) -> Version
pub fn groups_count(&self) -> u32
pub fn images_count(&self) -> u32
pub fn sprites(&self) -> impl Iterator<Item = &Sprite<'_>>
Trait Implementations§
Source§impl<'a> IntoIterator for Decoder<'a>
impl<'a> IntoIterator for Decoder<'a>
Auto Trait Implementations§
impl<'a> Freeze for Decoder<'a>
impl<'a> RefUnwindSafe for Decoder<'a>
impl<'a> Send for Decoder<'a>
impl<'a> Sync for Decoder<'a>
impl<'a> Unpin for Decoder<'a>
impl<'a> UnwindSafe for Decoder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more