[][src]Struct smxdasm::v1types::CodeV1Header

pub struct CodeV1Header {
    pub code_size: i32,
    pub cell_size: u8,
    pub code_version: u8,
    pub flags: CodeV1Flags,
    pub main_offset: i32,
    pub code_offset: i32,
    pub features: i32,
}

Fields

code_size: i32cell_size: u8code_version: u8flags: CodeV1Flagsmain_offset: i32code_offset: i32features: i32

Methods

impl CodeV1Header[src]

pub const SIZE: i32[src]

pub const VERSION_JIT1: u8[src]

pub const VERSION_JIT2: u8[src]

pub fn new<T>(data: T) -> Result<Self> where
    T: AsRef<[u8]>, 
[src]

Trait Implementations

impl Clone for CodeV1Header[src]

impl Debug for CodeV1Header[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.