pub struct RomConfig {Show 17 fields
pub padding_value: u8,
pub header: PathBuf,
pub header_logo: PathBuf,
pub arm9_bin: PathBuf,
pub arm9_config: PathBuf,
pub arm7_bin: PathBuf,
pub arm7_config: PathBuf,
pub itcm: RomConfigAutoload,
pub dtcm: RomConfigAutoload,
pub unknown_autoloads: Vec<RomConfigUnknownAutoload>,
pub arm9_overlays: Option<PathBuf>,
pub arm7_overlays: Option<PathBuf>,
pub banner: PathBuf,
pub files_dir: PathBuf,
pub path_order: PathBuf,
pub arm9_hmac_sha1_key: Option<PathBuf>,
pub alignment: RomConfigAlignment,
}Expand description
Config file mainly consisting of paths to extracted files.
Fields§
§padding_value: u8Byte value to append between ROM sections
header: PathBufPath to header YAML, deserializes into Header.
header_logo: PathBufPath to header logo PNG, loaded by Logo::from_png.
arm9_bin: PathBufPath to ARM9 binary
arm9_config: PathBufPath to ARM9 YAML, deserializes into Arm9BuildConfig.
arm7_bin: PathBufPath to ARM7 binary
arm7_config: PathBufPath to ARM7 YAML, deserializes into Arm7Offsets.
itcm: RomConfigAutoloadPath to ITCM files
dtcm: RomConfigAutoloadPath to DTCM files
unknown_autoloads: Vec<RomConfigUnknownAutoload>Path to unknown autoloads
arm9_overlays: Option<PathBuf>Path to ARM9 overlays YAML, deserializes into OverlayTableConfig.
arm7_overlays: Option<PathBuf>Path to ARM7 overlays YAML, deserializes into OverlayTableConfig.
Path to banner YAML, deserializes into Banner.
files_dir: PathBufPath to asset files directory
path_order: PathBufPath to path order file
arm9_hmac_sha1_key: Option<PathBuf>Path to HMAC SHA1 key file for ARM9
alignment: RomConfigAlignmentAlignment of ROM sections
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RomConfig
impl<'de> Deserialize<'de> for RomConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RomConfig
impl RefUnwindSafe for RomConfig
impl Send for RomConfig
impl Sync for RomConfig
impl Unpin for RomConfig
impl UnwindSafe for RomConfig
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