Struct TESFile

Source
#[repr(C)]
pub struct TESFile {
Show 65 fields pub lastError: Error, pub pad004: u32, pub threadSafeParent: *mut TESFile, pub threadSafeFileMap: *mut c_void, pub unk018: u64, pub unk020: u64, pub unk028: u8, pub unk029: u8, pub pad02A: u16, pub pad02C: u32, pub lockedFile: *mut BSFile, pub file: *mut BSFile, pub formUserDataBitArray: *mut TESBitArrayFile, pub formVersionBitArray: *mut TESBitArrayFile, pub formIDBitArray: *mut TESBitArrayFile, pub fileName: [u8; 260], pub path: [u8; 260], pub buffer: *mut u8, pub bufferAllocSize: u32, pub firstCellOffset: u32, pub currCellOffset: u32, pub unk274: u32, pub currCell: *mut TESObjectCELL, pub currRefOffset: u32, pub currentform: FORM, pub currentchunkID: u32, pub actualChunkSize: u32, pub filesize: u32, pub fileOffset: u32, pub formoffset: u32, pub chunkoffset: u32, pub saveform: FORM, pub saveFormOffset: u32, pub saveChunkOffset: u64, pub unk2D8: u64, pub unk2E0: u64, pub unk2E8: u8, pub isBigEndian: bool, pub unk2EA: u8, pub pad2EB: u8, pub fileData: WIN32_FIND_DATAA, pub unk42C: f32, pub unk430: u32, pub flags: u32, pub recordFlags: RecordFlags, pub pad43C: u32, pub masters: BSSimpleList<*const u8>, pub mastersData: BSSimpleList<*mut u64>, pub masterCount: u32, pub pad464: u32, pub masterPtrs: *mut *mut TESFile, pub deletedFormTime: FILETIME, pub compileIndex: u8, pub pad479: u8, pub smallFileCompileIndex: u16, pub pad47C: u32, pub createdBy: BSString, pub summary: BSString, pub decompressedFormBuffer: *mut u8, pub decompressedFormBufferSize: u32, pub pad4AC: u32, pub reservedDecompressionBuffer: *mut c_void, pub reservedDecompressionBufferSize: u32, pub pad4BC: u32, pub unk4C0: *mut c_void,
}

Fields§

§lastError: Error§pad004: u32§threadSafeParent: *mut TESFile§threadSafeFileMap: *mut c_void§unk018: u64§unk020: u64§unk028: u8§unk029: u8§pad02A: u16§pad02C: u32§lockedFile: *mut BSFile§file: *mut BSFile§formUserDataBitArray: *mut TESBitArrayFile§formVersionBitArray: *mut TESBitArrayFile§formIDBitArray: *mut TESBitArrayFile§fileName: [u8; 260]§path: [u8; 260]§buffer: *mut u8§bufferAllocSize: u32§firstCellOffset: u32§currCellOffset: u32§unk274: u32§currCell: *mut TESObjectCELL§currRefOffset: u32§currentform: FORM§currentchunkID: u32§actualChunkSize: u32§filesize: u32§fileOffset: u32§formoffset: u32§chunkoffset: u32§saveform: FORM§saveFormOffset: u32§saveChunkOffset: u64§unk2D8: u64§unk2E0: u64§unk2E8: u8§isBigEndian: bool§unk2EA: u8§pad2EB: u8§fileData: WIN32_FIND_DATAA§unk42C: f32§unk430: u32§flags: u32§recordFlags: RecordFlags§pad43C: u32§masters: BSSimpleList<*const u8>§mastersData: BSSimpleList<*mut u64>§masterCount: u32§pad464: u32§masterPtrs: *mut *mut TESFile§deletedFormTime: FILETIME§compileIndex: u8§pad479: u8§smallFileCompileIndex: u16§pad47C: u32§createdBy: BSString§summary: BSString§decompressedFormBuffer: *mut u8§decompressedFormBufferSize: u32§pad4AC: u32§reservedDecompressionBuffer: *mut c_void§reservedDecompressionBufferSize: u32§pad4BC: u32§unk4C0: *mut c_void

Trait Implementations§

Source§

impl Debug for TESFile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TESFile

Source§

fn eq(&self, other: &TESFile) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for TESFile

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more