pub struct XP3FileIndex { /* private fields */ }
Expand description
FileIndex for xp3 archive. Contains information about file and data offsets.
Implementations§
Source§impl XP3FileIndex
impl XP3FileIndex
pub fn new( info: XP3FileIndexInfo, segments: Vec<XP3FileIndexSegment>, adler: XP3FileIndexAdler, time: Option<XP3FileIndexTime>, ) -> Self
Sourcepub fn time(&self) -> Option<XP3FileIndexTime>
pub fn time(&self) -> Option<XP3FileIndexTime>
File time
Sourcepub fn adler(&self) -> XP3FileIndexAdler
pub fn adler(&self) -> XP3FileIndexAdler
File adler hash
Sourcepub fn info(&self) -> &XP3FileIndexInfo
pub fn info(&self) -> &XP3FileIndexInfo
File information
Sourcepub fn segments(&self) -> &Vec<XP3FileIndexSegment>
pub fn segments(&self) -> &Vec<XP3FileIndexSegment>
File segments
Trait Implementations§
Source§impl Clone for XP3FileIndex
impl Clone for XP3FileIndex
Source§fn clone(&self) -> XP3FileIndex
fn clone(&self) -> XP3FileIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for XP3FileIndex
impl RefUnwindSafe for XP3FileIndex
impl Send for XP3FileIndex
impl Sync for XP3FileIndex
impl Unpin for XP3FileIndex
impl UnwindSafe for XP3FileIndex
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