pub struct RomLoadOptions<'a> {
pub key: Option<&'a BlowfishKey>,
pub compress: bool,
pub encrypt: bool,
pub load_files: bool,
pub load_header: bool,
pub load_banner: bool,
pub load_multiboot_signature: bool,
}Expand description
Options for Rom::load.
Fields§
§key: Option<&'a BlowfishKey>Blowfish encryption key.
compress: boolIf true (default), compress ARM9 and overlays if they are configured with compressed: true.
encrypt: boolIf true (default), encrypt ARM9 if it’s configured with encrypted: true.
load_files: boolIf true (default), load asset files.
load_header: boolIf true (default), load the header and the header logo.
If true (default), load the banner.
load_multiboot_signature: boolIf true (default), load the multiboot signature.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RomLoadOptions<'a>
impl<'a> RefUnwindSafe for RomLoadOptions<'a>
impl<'a> Send for RomLoadOptions<'a>
impl<'a> Sync for RomLoadOptions<'a>
impl<'a> Unpin for RomLoadOptions<'a>
impl<'a> UnsafeUnpin for RomLoadOptions<'a>
impl<'a> UnwindSafe for RomLoadOptions<'a>
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