Struct rusk_vm::Contract [−][src]
pub struct Contract { /* fields omitted */ }
Expand description
A representation of a contract with a state and bytecode
Implementations
Create a new Contract with initial state and code
Returns a reference to the contract state
Returns a mutable reference to the contract state
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Contract
impl UnwindSafe for Contract
Blanket Implementations
Mutably borrows from an owned value. Read more
Encode Self
into a buffer