pub struct NanaCxCrypt {
base: SenrenCxCrypt,
decryptor: NanaDecryptor,
}Available on crate features
kirikiri and kirikiri-arc only.Fields§
§base: SenrenCxCrypt§decryptor: NanaDecryptorImplementations§
Source§impl NanaCxCrypt
impl NanaCxCrypt
pub fn new( base: BaseSchema, schema: &CxSchema, filename: &str, names_section_id: String, random_seed: u32, yuz_key: &[u32], ) -> Result<Arc<Self>>
fn read_yuzu_names<'a>( &self, reader: Box<dyn ReadDebug + 'a>, unpacked_size: u32, ) -> Result<(HashMap<u32, String>, HashMap<String, String>)>
Trait Implementations§
Source§impl AsRef<BaseSchema> for NanaCxCrypt
impl AsRef<BaseSchema> for NanaCxCrypt
Source§fn as_ref(&self) -> &BaseSchema
fn as_ref(&self) -> &BaseSchema
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Debug for NanaCxCrypt
impl Debug for NanaCxCrypt
Source§impl ICxEncryption for NanaCxCrypt
impl ICxEncryption for NanaCxCrypt
Auto Trait Implementations§
impl Freeze for NanaCxCrypt
impl !RefUnwindSafe for NanaCxCrypt
impl Send for NanaCxCrypt
impl Sync for NanaCxCrypt
impl Unpin for NanaCxCrypt
impl !UnwindSafe for NanaCxCrypt
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more