Struct sway_core::asm_generation::FinalizedEntry
source · pub struct FinalizedEntry {
pub fn_name: String,
pub imm: u64,
pub selector: Option<[u8; 4]>,
pub test_decl_id: Option<DeclId>,
}
Fields§
§fn_name: String
The original entry point function name.
imm: u64
The immediate instruction offset at which the entry function begins.
selector: Option<[u8; 4]>
The function selector (only Some
for contract ABI methods).
test_decl_id: Option<DeclId>
If this entry is constructed from a test function contains the declaration id for that
function, otherwise contains None
.
Implementations§
Trait Implementations§
source§impl Clone for FinalizedEntry
impl Clone for FinalizedEntry
source§fn clone(&self) -> FinalizedEntry
fn clone(&self) -> FinalizedEntry
Returns a copy 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 more