[−][src]Struct ages_ice_archive::IceArchive
A loaded ICE archive whose file groups can be iterated over.
Implementations
impl IceArchive
[src]
pub fn new<R: Read + Seek>(src: R) -> Result<IceArchive>
[src]
Open an IO source as an IceArchive
, parsing the header from the start
of the source.
pub fn unpack_group(&mut self, group: Group) -> Result<()>
[src]
Unpack a group from the source, caching the decompressed data, for further indexing.
Does nothing if the group is already unpacked.
pub fn is_group_unpacked(&self, group: Group) -> bool
[src]
true
if the given group is already unpacked (i.e., can be indexed).
pub fn version(&self) -> u32
[src]
The version of this ICE archive.
pub fn iter_group<'a>(
&'a self,
group: Group
) -> Result<impl Iterator<Item = IceFile<'a>>, GroupNotUnpacked>
[src]
&'a self,
group: Group
) -> Result<impl Iterator<Item = IceFile<'a>>, GroupNotUnpacked>
Get an iterator over the files in a group, if the group is unpacked.
Call unpack_group
before using.
Auto Trait Implementations
impl RefUnwindSafe for IceArchive
impl Send for IceArchive
impl Sync for IceArchive
impl Unpin for IceArchive
impl UnwindSafe for IceArchive
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,