Struct wasmparser::Range
[−]
[src]
pub struct Range { pub start: usize, pub end: usize, }
Bytecode range in the WebAssembly module.
Fields
start: usize
end: usize
Methods
impl Range
[src]
pub fn new(start: usize, end: usize) -> Range
[src]
pub fn slice<'a>(&self, data: &'a [u8]) -> &'a [u8]
[src]
Trait Implementations
impl Debug for Range
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more