1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 12:47:45 +00:00

Make RepositoryType copyable

This commit is contained in:
Joshua Goins 2022-08-09 22:07:17 -04:00
parent e172433b00
commit 2a723f459f

View file

@ -5,7 +5,7 @@ use std::path::{Path, PathBuf};
use crate::repository::RepositoryType::{Base, Expansion}; use crate::repository::RepositoryType::{Base, Expansion};
/// The type of repository, discerning game data from expansion data. /// The type of repository, discerning game data from expansion data.
#[derive(Debug, PartialEq)] #[derive(Debug, PartialEq, Copy, Clone)]
#[repr(C)] #[repr(C)]
pub enum RepositoryType { pub enum RepositoryType {
/// The base game directory, like "ffxiv". /// The base game directory, like "ffxiv".