Struct unrar_sys::HeaderDataEx

source ·
#[repr(C)]
pub struct HeaderDataEx {
Show 33 fields pub archive_name: [c_char; 1024], pub archive_name_w: [wchar_t; 1024], pub filename: [c_char; 1024], pub filename_w: [wchar_t; 1024], pub flags: c_uint, pub pack_size: c_uint, pub pack_size_high: c_uint, pub unp_size: c_uint, pub unp_size_high: c_uint, pub host_os: c_uint, pub file_crc: c_uint, pub file_time: c_uint, pub unp_ver: c_uint, pub method: c_uint, pub file_attr: c_uint, pub comment_buffer: *mut c_char, pub comment_buffer_size: c_uint, pub comment_size: c_uint, pub comment_state: c_uint, pub dict_size: c_uint, pub hash_type: c_uint, pub hash: [c_char; 32], pub redir_type: c_uint, pub redir_name: *mut wchar_t, pub redir_name_size: c_uint, pub dir_target: c_uint, pub mtime_low: c_uint, pub mtime_high: c_uint, pub ctime_low: c_uint, pub ctime_high: c_uint, pub atime_low: c_uint, pub atime_high: c_uint, pub reserved: [c_uint; 988],
}

Fields§

§archive_name: [c_char; 1024]§archive_name_w: [wchar_t; 1024]§filename: [c_char; 1024]§filename_w: [wchar_t; 1024]§flags: c_uint§pack_size: c_uint§pack_size_high: c_uint§unp_size: c_uint§unp_size_high: c_uint§host_os: c_uint§file_crc: c_uint§file_time: c_uint§unp_ver: c_uint§method: c_uint§file_attr: c_uint§comment_buffer: *mut c_char§comment_buffer_size: c_uint§comment_size: c_uint§comment_state: c_uint§dict_size: c_uint§hash_type: c_uint§hash: [c_char; 32]§redir_type: c_uint§redir_name: *mut wchar_t§redir_name_size: c_uint§dir_target: c_uint§mtime_low: c_uint§mtime_high: c_uint§ctime_low: c_uint§ctime_high: c_uint§atime_low: c_uint§atime_high: c_uint§reserved: [c_uint; 988]

Trait Implementations§

source§

impl Default for HeaderDataEx

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.