Struct nnsdk::nn::ro::NrrHeader

source ·
#[repr(C)]
pub struct NrrHeader {
Show 15 fields pub magic: u32, pub _x4: [u8; 12], pub program_id_mask: u64, pub program_id_pattern: u64, pub _x20: [u8; 16], pub modulus: [u8; 256], pub fixed_key_signature: [u8; 256], pub nrr_signature: [u8; 256], pub program_id: ProgramId, pub size: u32, pub type_: u8, pub _x33D: [u8; 3], pub hashes_offset: u32, pub num_hashes: u32, pub _x348: [u8; 8],
}

Fields§

§magic: u32§_x4: [u8; 12]§program_id_mask: u64§program_id_pattern: u64§_x20: [u8; 16]§modulus: [u8; 256]§fixed_key_signature: [u8; 256]§nrr_signature: [u8; 256]§program_id: ProgramId§size: u32§type_: u8§_x33D: [u8; 3]§hashes_offset: u32§num_hashes: u32§_x348: [u8; 8]

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.