Struct ggpk::file::FileRecord
source · pub struct FileRecord {
pub name: String,
pub path: String,
pub signature: [u8; 32],
pub begin: usize,
pub bytes: u32,
}
Fields
name: String
path: String
signature: [u8; 32]
begin: usize
bytes: u32
Implementations
sourceimpl FileRecord
impl FileRecord
pub fn absolute_path(&self) -> String
pub fn clone(&self) -> FileRecord
Auto Trait Implementations
impl RefUnwindSafe for FileRecord
impl Send for FileRecord
impl Sync for FileRecord
impl Unpin for FileRecord
impl UnwindSafe for FileRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more