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