Struct alure::Lib[][src]

pub struct Lib<E = NOp> where
    E: InstructionSet
{ /* fields omitted */ }
Expand description

AluVM executable code library

Implementations

Constructs library for the provided instructions by encoding them into bytecode

Returns hash identifier LibHash, representing the library in a unique way.

Lib hash is computed as SHA256 tagged hash of the serialized library bytecode.

Calculates length of bytecode encoding in bytes

Returns bytecode reference

Executes library code starting at entrypoint

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.