pub struct MoveModule {
pub version: BytecodeVersion,
pub name: String,
pub identifiers_offset: u32,
pub identifiers_count: u32,
pub struct_defs_offset: u32,
pub struct_defs_count: u32,
pub _function_handles_offset: u32,
pub _function_handles_count: u32,
pub function_defs_offset: u32,
pub function_defs_count: u32,
pub structs: Vec<StructDef>,
pub functions: Vec<FunctionDef>,
}Expand description
A parsed Move module
Fields§
§version: BytecodeVersionModule version
name: StringModule name
identifiers_offset: u32Identifier table offset
identifiers_count: u32Identifier table count
struct_defs_offset: u32Struct table offset
struct_defs_count: u32Struct table count
_function_handles_offset: u32Function handle offset (unused placeholder)
_function_handles_count: u32Function handle count (unused placeholder)
function_defs_offset: u32Function table offset
function_defs_count: u32Function table count
structs: Vec<StructDef>Struct definitions
functions: Vec<FunctionDef>Function definitions
Trait Implementations§
Source§impl Clone for MoveModule
impl Clone for MoveModule
Source§fn clone(&self) -> MoveModule
fn clone(&self) -> MoveModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MoveModule
impl RefUnwindSafe for MoveModule
impl Send for MoveModule
impl Sync for MoveModule
impl Unpin for MoveModule
impl UnwindSafe for MoveModule
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