Type Alias rspack_sources::BoxSource
source · pub type BoxSource = Arc<dyn Source>;
Expand description
An alias for Box<dyn Source>
.
Aliased Type§
struct BoxSource { /* private fields */ }
Trait Implementations§
source§impl Source for BoxSource
impl Source for BoxSource
source§impl<'a> StreamChunks<'a> for BoxSource
impl<'a> StreamChunks<'a> for BoxSource
source§fn stream_chunks(
&'a self,
options: &MapOptions,
on_chunk: OnChunk<'_, 'a>,
on_source: OnSource<'_, 'a>,
on_name: OnName<'_, 'a>,
) -> GeneratedInfo
fn stream_chunks( &'a self, options: &MapOptions, on_chunk: OnChunk<'_, 'a>, on_source: OnSource<'_, 'a>, on_name: OnName<'_, 'a>, ) -> GeneratedInfo
StreamChunks abstraction