Struct hactool_settings_t

Source
#[repr(C)]
pub struct hactool_settings_t {
Show 35 fields pub keyset: nca_keyset_t, pub skip_key_warnings: c_int, pub has_cli_titlekey: c_int, pub cli_titlekey: [c_uchar; 16], pub dec_cli_titlekey: [c_uchar; 16], pub known_titlekeys: known_titlekeys_t, pub has_cli_contentkey: c_int, pub cli_contentkey: [c_uchar; 16], pub has_sdseed: c_int, pub sdseed: [c_uchar; 16], pub keygen_sbk: [c_uchar; 16], pub keygen_tsec: [c_uchar; 16], pub section_paths: [filepath_t; 4], pub section_dir_paths: [filepath_t; 4], pub exefs_path: override_filepath_t, pub exefs_dir_path: override_filepath_t, pub romfs_path: override_filepath_t, pub romfs_dir_path: override_filepath_t, pub out_dir_path: override_filepath_t, pub pfs0_dir_path: filepath_t, pub hfs0_dir_path: filepath_t, pub pk11_dir_path: filepath_t, pub pk21_dir_path: filepath_t, pub ini1_dir_path: filepath_t, pub plaintext_path: filepath_t, pub uncompressed_path: filepath_t, pub rootpt_dir_path: filepath_t, pub update_dir_path: filepath_t, pub normal_dir_path: filepath_t, pub secure_dir_path: filepath_t, pub logo_dir_path: filepath_t, pub header_path: filepath_t, pub nax0_path: filepath_t, pub nax0_sd_path: filepath_t, pub npdm_json_path: filepath_t,
}

Fields§

§keyset: nca_keyset_t§skip_key_warnings: c_int§has_cli_titlekey: c_int§cli_titlekey: [c_uchar; 16]§dec_cli_titlekey: [c_uchar; 16]§known_titlekeys: known_titlekeys_t§has_cli_contentkey: c_int§cli_contentkey: [c_uchar; 16]§has_sdseed: c_int§sdseed: [c_uchar; 16]§keygen_sbk: [c_uchar; 16]§keygen_tsec: [c_uchar; 16]§section_paths: [filepath_t; 4]§section_dir_paths: [filepath_t; 4]§exefs_path: override_filepath_t§exefs_dir_path: override_filepath_t§romfs_path: override_filepath_t§romfs_dir_path: override_filepath_t§out_dir_path: override_filepath_t§pfs0_dir_path: filepath_t§hfs0_dir_path: filepath_t§pk11_dir_path: filepath_t§pk21_dir_path: filepath_t§ini1_dir_path: filepath_t§plaintext_path: filepath_t§uncompressed_path: filepath_t§rootpt_dir_path: filepath_t§update_dir_path: filepath_t§normal_dir_path: filepath_t§secure_dir_path: filepath_t§logo_dir_path: filepath_t§header_path: filepath_t§nax0_path: filepath_t§nax0_sd_path: filepath_t§npdm_json_path: filepath_t

Trait Implementations§

Source§

impl Clone for hactool_settings_t

Source§

fn clone(&self) -> hactool_settings_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for hactool_settings_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for hactool_settings_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.