#[non_exhaustive]pub struct ProgramBinaryHeader {
pub abi_kind: AbiKind,
pub abi_version: Version,
}
Expand description
A list of key-value pairs that contains information about the program.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.abi_kind: AbiKind
The ABI the program uses
abi_version: Version
The version of the ABI that the program uses
Trait Implementations§
Source§impl Clone for ProgramBinaryHeader
impl Clone for ProgramBinaryHeader
Source§fn clone(&self) -> ProgramBinaryHeader
fn clone(&self) -> ProgramBinaryHeader
Returns a duplicate 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 ProgramBinaryHeader
impl Debug for ProgramBinaryHeader
Source§impl Default for ProgramBinaryHeader
impl Default for ProgramBinaryHeader
Source§impl PartialEq for ProgramBinaryHeader
impl PartialEq for ProgramBinaryHeader
impl Eq for ProgramBinaryHeader
impl StructuralPartialEq for ProgramBinaryHeader
Auto Trait Implementations§
impl Freeze for ProgramBinaryHeader
impl RefUnwindSafe for ProgramBinaryHeader
impl Send for ProgramBinaryHeader
impl Sync for ProgramBinaryHeader
impl Unpin for ProgramBinaryHeader
impl UnwindSafe for ProgramBinaryHeader
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