[][src]Struct hactool_sys::nca_ctx

#[repr(C)]
pub struct nca_ctx { pub file: *mut FILE, pub file_size: usize, pub crypto_type: c_uchar, pub has_rights_id: c_int, pub is_decrypted: c_int, pub is_cli_target: c_int, pub format_version: nca_version, pub fixed_sig_validity: validity_t, pub npdm_sig_validity: validity_t, pub tool_ctx: *mut hactool_ctx_t, pub decrypted_keys: [[c_uchar; 16]; 4], pub title_key: [c_uchar; 16], pub section_contexts: [nca_section_ctx_t; 4], pub npdm: *mut npdm_t, pub header: nca_header_t, }

Fields

file: *mut FILEfile_size: usizecrypto_type: c_ucharhas_rights_id: c_intis_decrypted: c_intis_cli_target: c_intformat_version: nca_versionfixed_sig_validity: validity_tnpdm_sig_validity: validity_ttool_ctx: *mut hactool_ctx_tdecrypted_keys: [[c_uchar; 16]; 4]title_key: [c_uchar; 16]section_contexts: [nca_section_ctx_t; 4]npdm: *mut npdm_theader: nca_header_t

Trait Implementations

impl Copy for nca_ctx[src]

impl Default for nca_ctx[src]

impl Clone for nca_ctx[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for nca_ctx

impl !Sync for nca_ctx

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]