pub struct PluginHeader {
pub filename: String,
pub record_flags: u32,
pub version: f32,
pub num_records: u32,
pub masters: Vec<String>,
}Expand description
Parsed header from a Bethesda plugin file.
Fields§
§filename: StringThe plugin filename (just the name, not the full path).
record_flags: u32Record flags from the TES4 header.
version: f32Plugin version (e.g., 0.94 for Form 43, 1.70 for Form 44).
num_records: u32Number of records in the plugin.
masters: Vec<String>Master file dependencies.
Implementations§
Source§impl PluginHeader
impl PluginHeader
Trait Implementations§
Source§impl Clone for PluginHeader
impl Clone for PluginHeader
Source§fn clone(&self) -> PluginHeader
fn clone(&self) -> PluginHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginHeader
impl RefUnwindSafe for PluginHeader
impl Send for PluginHeader
impl Sync for PluginHeader
impl Unpin for PluginHeader
impl UnsafeUnpin for PluginHeader
impl UnwindSafe for PluginHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more