#[repr(C)]pub struct nca_section_ctx_t {Show 20 fields
pub is_present: c_int,
pub type_: nca_section_type,
pub file: *mut FILE,
pub offset: u64,
pub size: u64,
pub section_num: u32,
pub header: *mut nca_fs_header_t,
pub is_decrypted: c_int,
pub sector_size: u64,
pub sector_mask: u64,
pub aes: *mut aes_ctx_t,
pub tool_ctx: *mut hactool_ctx_t,
pub __bindgen_anon_1: nca_section_ctx_t__bindgen_ty_1,
pub superblock_hash_validity: validity_t,
pub ctr: [c_uchar; 16],
pub cur_seek: u64,
pub sector_num: usize,
pub sector_ofs: u32,
pub physical_reads: c_int,
pub crypt_type: section_crypt_type_t,
}Fields§
§is_present: c_int§type_: nca_section_type§file: *mut FILE§offset: u64§size: u64§section_num: u32§header: *mut nca_fs_header_t§is_decrypted: c_int§sector_size: u64§sector_mask: u64§aes: *mut aes_ctx_t§tool_ctx: *mut hactool_ctx_t§__bindgen_anon_1: nca_section_ctx_t__bindgen_ty_1§superblock_hash_validity: validity_t§ctr: [c_uchar; 16]§cur_seek: u64§sector_num: usize§sector_ofs: u32§physical_reads: c_int§crypt_type: section_crypt_type_tTrait Implementations§
Source§impl Clone for nca_section_ctx_t
impl Clone for nca_section_ctx_t
Source§fn clone(&self) -> nca_section_ctx_t
fn clone(&self) -> nca_section_ctx_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_section_ctx_t
impl Default for nca_section_ctx_t
impl Copy for nca_section_ctx_t
Auto Trait Implementations§
impl Freeze for nca_section_ctx_t
impl RefUnwindSafe for nca_section_ctx_t
impl !Send for nca_section_ctx_t
impl !Sync for nca_section_ctx_t
impl Unpin for nca_section_ctx_t
impl UnwindSafe for nca_section_ctx_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