pub struct FileRef {
pub name: String,
pub path: String,
pub entry_index: usize,
pub size: u32,
pub mem_size: u32,
pub is_resource: bool,
}Expand description
A reference to a file entry within a DirNode, keyed by entry index.
Fields§
§name: String§path: String§entry_index: usize§size: u32§mem_size: u32§is_resource: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FileRef
impl RefUnwindSafe for FileRef
impl Send for FileRef
impl Sync for FileRef
impl Unpin for FileRef
impl UnsafeUnpin for FileRef
impl UnwindSafe for FileRef
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