pub struct BytecodeFileHeader {
pub labels: IndexMap<String, u32>,
pub entrypoint: u32,
}
Fields§
§labels: IndexMap<String, u32>
§entrypoint: u32
Trait Implementations§
Source§impl Debug for BytecodeFileHeader
impl Debug for BytecodeFileHeader
Source§impl Default for BytecodeFileHeader
impl Default for BytecodeFileHeader
Source§fn default() -> BytecodeFileHeader
fn default() -> BytecodeFileHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BytecodeFileHeader
impl<'de> Deserialize<'de> for BytecodeFileHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BytecodeFileHeader
impl PartialEq for BytecodeFileHeader
Source§impl Serialize for BytecodeFileHeader
impl Serialize for BytecodeFileHeader
impl Eq for BytecodeFileHeader
impl StructuralPartialEq for BytecodeFileHeader
Auto Trait Implementations§
impl Freeze for BytecodeFileHeader
impl RefUnwindSafe for BytecodeFileHeader
impl Send for BytecodeFileHeader
impl Sync for BytecodeFileHeader
impl Unpin for BytecodeFileHeader
impl UnwindSafe for BytecodeFileHeader
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.