Struct parcel_css::bundler::Bundler
source · [−]pub struct Bundler<'a, 's, P> { /* private fields */ }
Implementations
sourceimpl<'a, 's, P: SourceProvider> Bundler<'a, 's, P>
impl<'a, 's, P: SourceProvider> Bundler<'a, 's, P>
pub fn new(
fs: &'a P,
source_map: Option<&'s mut SourceMap>,
options: ParserOptions
) -> Self
pub fn bundle<'e>(
&mut self,
entry: &'e Path
) -> Result<StyleSheet<'a>, Error<BundleErrorKind<'a>>>
Auto Trait Implementations
impl<'a, 's, P> !RefUnwindSafe for Bundler<'a, 's, P>
impl<'a, 's, P> Send for Bundler<'a, 's, P> where
P: Sync,
impl<'a, 's, P> Sync for Bundler<'a, 's, P> where
P: Sync,
impl<'a, 's, P> Unpin for Bundler<'a, 's, P>
impl<'a, 's, P> UnwindSafe for Bundler<'a, 's, P> where
P: RefUnwindSafe,
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more