pub trait ConsumerTrait: Sized {
// Required methods
fn consume(
source_map_raw: String,
source_map_url: String,
f: impl FnOnce(Self),
);
fn each_mapping(&mut self, f: impl Fn(&Mapping), ord: IterOrd);
}Required Methods§
fn consume(source_map_raw: String, source_map_url: String, f: impl FnOnce(Self))
fn each_mapping(&mut self, f: impl Fn(&Mapping), ord: IterOrd)
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.