pub trait BytecodeWitnessIndex {
// Required methods
fn bytecode_witness_index(&self) -> &u16;
fn bytecode_witness_index_mut(&mut self) -> &mut u16;
fn bytecode_witness_index_offset_static() -> usize;
// Provided method
fn bytecode_witness_index_offset(&self) -> usize { ... }
}
Required Methods§
fn bytecode_witness_index(&self) -> &u16
fn bytecode_witness_index_mut(&mut self) -> &mut u16
fn bytecode_witness_index_offset_static() -> usize
Provided Methods§
fn bytecode_witness_index_offset(&self) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.