#[repr(C)]pub struct Secp256r1SignatureOffsets {
pub signature_offset: u16,
pub signature_instruction_index: u16,
pub public_key_offset: u16,
pub public_key_instruction_index: u16,
pub message_data_offset: u16,
pub message_data_size: u16,
pub message_instruction_index: u16,
}
Fields§
§signature_offset: u16
Offset to compact secp256r1 signature of 64 bytes
signature_instruction_index: u16
Instruction index where the signature can be found
public_key_offset: u16
Offset to compressed public key of 33 bytes
public_key_instruction_index: u16
Instruction index where the public key can be found
message_data_offset: u16
Offset to the start of message data
message_data_size: u16
Size of message data in bytes
message_instruction_index: u16
Instruction index where the message data can be found
Trait Implementations§
Source§impl Clone for Secp256r1SignatureOffsets
impl Clone for Secp256r1SignatureOffsets
Source§fn clone(&self) -> Secp256r1SignatureOffsets
fn clone(&self) -> Secp256r1SignatureOffsets
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 moreSource§impl Debug for Secp256r1SignatureOffsets
impl Debug for Secp256r1SignatureOffsets
Source§impl Default for Secp256r1SignatureOffsets
impl Default for Secp256r1SignatureOffsets
Source§fn default() -> Secp256r1SignatureOffsets
fn default() -> Secp256r1SignatureOffsets
Returns the “default value” for a type. Read more
impl Copy for Secp256r1SignatureOffsets
impl Eq for Secp256r1SignatureOffsets
impl Pod for Secp256r1SignatureOffsets
impl StructuralPartialEq for Secp256r1SignatureOffsets
Auto Trait Implementations§
impl Freeze for Secp256r1SignatureOffsets
impl RefUnwindSafe for Secp256r1SignatureOffsets
impl Send for Secp256r1SignatureOffsets
impl Sync for Secp256r1SignatureOffsets
impl Unpin for Secp256r1SignatureOffsets
impl UnwindSafe for Secp256r1SignatureOffsets
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.