Struct assembly_pack::txt::manifest::VersionLine
source · pub struct VersionLine {
pub version: u32,
pub hash: MD5Sum,
pub name: String,
}
Available on crate feature
manifest
only.Expand description
The line in the [version]
section
Fields§
§version: u32
The version of this manifest
hash: MD5Sum
The hash of version
as a string
name: String
The name of this manifest
This name in this field in trunk.txt
is appended to the version on the loading screen.
Implementations§
source§impl VersionLine
impl VersionLine
Trait Implementations§
source§impl Clone for VersionLine
impl Clone for VersionLine
source§fn clone(&self) -> VersionLine
fn clone(&self) -> VersionLine
Returns a copy 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 moresource§impl Debug for VersionLine
impl Debug for VersionLine
source§impl Display for VersionLine
impl Display for VersionLine
source§impl PartialEq for VersionLine
impl PartialEq for VersionLine
impl Eq for VersionLine
impl StructuralPartialEq for VersionLine
Auto Trait Implementations§
impl Freeze for VersionLine
impl RefUnwindSafe for VersionLine
impl Send for VersionLine
impl Sync for VersionLine
impl Unpin for VersionLine
impl UnwindSafe for VersionLine
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
§impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more