Struct wasmparser::Range [−][src]
Bytecode range in the WebAssembly module.
Fields
start: usize
end: usize
Methods
impl Range[src]
impl Rangepub fn new(start: usize, end: usize) -> Range[src]
pub fn new(start: usize, end: usize) -> Rangepub 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 Rangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Range[src]
impl Copy for Rangeimpl Clone for Range[src]
impl Clone for Range