pub struct BytecodeHeader {
pub version: u8,
pub fingerprint_flag: bool,
}Expand description
Parsed mk1 bytecode header.
Fields§
§version: u8Version field, range 0..=15.
fingerprint_flag: boolBit 2: when true, origin_fingerprint is present in the payload.
Implementations§
Trait Implementations§
Source§impl Clone for BytecodeHeader
impl Clone for BytecodeHeader
Source§fn clone(&self) -> BytecodeHeader
fn clone(&self) -> BytecodeHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BytecodeHeader
impl Debug for BytecodeHeader
Source§impl PartialEq for BytecodeHeader
impl PartialEq for BytecodeHeader
Source§fn eq(&self, other: &BytecodeHeader) -> bool
fn eq(&self, other: &BytecodeHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BytecodeHeader
impl Eq for BytecodeHeader
impl StructuralPartialEq for BytecodeHeader
Auto Trait Implementations§
impl Freeze for BytecodeHeader
impl RefUnwindSafe for BytecodeHeader
impl Send for BytecodeHeader
impl Sync for BytecodeHeader
impl Unpin for BytecodeHeader
impl UnsafeUnpin for BytecodeHeader
impl UnwindSafe for BytecodeHeader
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