#[repr(C)]pub struct nca_header_t {Show 19 fields
pub fixed_key_sig: [u8; 256],
pub npdm_key_sig: [u8; 256],
pub magic: u32,
pub distribution: u8,
pub content_type: u8,
pub crypto_type: u8,
pub kaek_ind: u8,
pub nca_size: u64,
pub title_id: u64,
pub _0x218: [u8; 4],
pub __bindgen_anon_1: nca_header_t__bindgen_ty_1,
pub crypto_type2: u8,
pub _0x221: [u8; 15],
pub rights_id: [u8; 16],
pub section_entries: [nca_section_entry_t; 4],
pub section_hashes: [[u8; 32]; 4],
pub encrypted_keys: [[u8; 16]; 4],
pub _0x340: [u8; 192],
pub fs_headers: [nca_fs_header_t; 4],
}Fields§
§fixed_key_sig: [u8; 256]§npdm_key_sig: [u8; 256]§magic: u32§distribution: u8§content_type: u8§crypto_type: u8§kaek_ind: u8§nca_size: u64§title_id: u64§_0x218: [u8; 4]§__bindgen_anon_1: nca_header_t__bindgen_ty_1§crypto_type2: u8§_0x221: [u8; 15]§rights_id: [u8; 16]§section_entries: [nca_section_entry_t; 4]§section_hashes: [[u8; 32]; 4]§encrypted_keys: [[u8; 16]; 4]§_0x340: [u8; 192]§fs_headers: [nca_fs_header_t; 4]Trait Implementations§
Source§impl Clone for nca_header_t
impl Clone for nca_header_t
Source§fn clone(&self) -> nca_header_t
fn clone(&self) -> nca_header_t
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 Default for nca_header_t
impl Default for nca_header_t
impl Copy for nca_header_t
Auto Trait Implementations§
impl Freeze for nca_header_t
impl RefUnwindSafe for nca_header_t
impl Send for nca_header_t
impl Sync for nca_header_t
impl Unpin for nca_header_t
impl UnwindSafe for nca_header_t
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