Struct enhanced_magic_string::bundle::Bundle
source · pub struct Bundle { /* private fields */ }Implementations§
source§impl Bundle
impl Bundle
pub fn new(options: BundleOptions) -> Self
pub fn add_source( &mut self, source: MagicString, opts: Option<AddSourceOptions> ) -> Result<(), Error>
pub fn generate_map(&self, opts: SourceMapOptions) -> Result<SourceMap, Error>
pub fn append(&mut self, str: &str, opts: Option<AddSourceOptions>)
pub fn prepend(&mut self, str: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bundle
impl !RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl !UnwindSafe for Bundle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more