[][src]Trait wasm_reader_traits::MaybePosition

pub trait MaybePosition {
    fn position(&mut self) -> Option<u64>;
}

Helper trait to allow users to possibly get a location in the stream, where types that cannot report this information fall back to reporting None.

Required methods

fn position(&mut self) -> Option<u64>

Loading content...

Implementors

impl<T: Seek> MaybePosition for T[src]

Loading content...