pub struct Entry {
pub name: String,
pub offset: usize,
pub size: usize,
}Expand description
One entry of a package: its name, and where its bytes are.
Fields§
§name: StringOriginal path with backslashes, e.g. Models\Animals\Sheep\SheepMesh.rsc:resource… as stored.
offset: usizeWhere the entry’s bytes start in the package.
size: usizeThe size of the stored bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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