Derive Clone on Cell and World
This commit is contained in:
parent
3ae52b32bb
commit
85494df510
@ -40,7 +40,7 @@ pub struct PluginHeader<'a> {
|
||||
}
|
||||
|
||||
/// Parsed [CELL records](https://en.uesp.net/wiki/Skyrim_Mod:Mod_File_Format/CELL)
|
||||
#[derive(Debug, PartialEq, Serialize)]
|
||||
#[derive(Debug, Clone, PartialEq, Serialize)]
|
||||
pub struct Cell {
|
||||
pub form_id: u32,
|
||||
pub editor_id: Option<String>,
|
||||
@ -78,7 +78,7 @@ struct DecompressedCell {
|
||||
}
|
||||
|
||||
/// Parsed [WRLD records](https://en.uesp.net/wiki/Skyrim_Mod:Mod_File_Format/WRLD)
|
||||
#[derive(Debug, PartialEq, Serialize)]
|
||||
#[derive(Debug, Clone, PartialEq, Serialize)]
|
||||
pub struct World {
|
||||
/// Note that this `form_id` is relative to the plugin file, not what it would be in-game.
|
||||
/// The first byte of the `form_id` can be interpreted as an index into the `masters` array of the [`PluginHeader`].
|
||||
|
Loading…
Reference in New Issue
Block a user