pub trait LabelLookup {
// Required method
fn label_address(&self, name: &str) -> Result<u32>;
}Expand description
Resolve @name branch targets through the section’s symbol table.
The loader prepares the whole table before lowering so forward references
work. Addresses count executable instructions; @name: definitions occupy
no slot.
Required Methods§
fn label_address(&self, name: &str) -> Result<u32>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".