ConsumerTrait

Trait ConsumerTrait 

Source
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§

Source

fn consume(source_map_raw: String, source_map_url: String, f: impl FnOnce(Self))

Source

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.

Implementors§