Struct nod::PartitionInfo
source · pub struct PartitionInfo {
pub index: usize,
pub kind: PartitionKind,
pub start_sector: u32,
pub data_start_sector: u32,
pub data_end_sector: u32,
pub key: [u8; 16],
pub header: Box<WiiPartitionHeader>,
pub disc_header: Box<DiscHeader>,
pub partition_header: Box<PartitionHeader>,
pub hash_table: Option<HashTable>,
}Expand description
Wii partition information.
Fields§
§index: usizeThe partition index.
kind: PartitionKindThe kind of disc partition.
start_sector: u32The start sector of the partition.
data_start_sector: u32The start sector of the partition’s (encrypted) data.
data_end_sector: u32The end sector of the partition’s (encrypted) data.
key: [u8; 16]The AES key for the partition, also known as the “title key”.
header: Box<WiiPartitionHeader>The Wii partition header.
disc_header: Box<DiscHeader>The disc header within the partition.
partition_header: Box<PartitionHeader>The partition header within the partition.
hash_table: Option<HashTable>The hash table for the partition, if rebuilt.
Trait Implementations§
source§impl Clone for PartitionInfo
impl Clone for PartitionInfo
source§fn clone(&self) -> PartitionInfo
fn clone(&self) -> PartitionInfo
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 moreAuto Trait Implementations§
impl RefUnwindSafe for PartitionInfo
impl Send for PartitionInfo
impl Sync for PartitionInfo
impl Unpin for PartitionInfo
impl UnwindSafe for PartitionInfo
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