pub struct ScopedModule {
pub suffix: String,
pub css: String,
pub classes: BTreeMap<String, String>,
pub dependencies: Vec<String>,
}Expand description
The result of compiling a Sass module with scoped class rewriting.
Fields§
§suffix: StringThe deterministic suffix appended to local class selectors.
css: StringThe transformed CSS emitted for the compiled module.
classes: BTreeMap<String, String>A mapping from source class names to their scoped output names.
dependencies: Vec<String>Canonical dependency paths that contributed to the compilation result.
Trait Implementations§
Source§impl Clone for ScopedModule
impl Clone for ScopedModule
Source§fn clone(&self) -> ScopedModule
fn clone(&self) -> ScopedModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopedModule
impl Debug for ScopedModule
Source§impl PartialEq for ScopedModule
impl PartialEq for ScopedModule
impl Eq for ScopedModule
impl StructuralPartialEq for ScopedModule
Auto Trait Implementations§
impl Freeze for ScopedModule
impl RefUnwindSafe for ScopedModule
impl Send for ScopedModule
impl Sync for ScopedModule
impl Unpin for ScopedModule
impl UnsafeUnpin for ScopedModule
impl UnwindSafe for ScopedModule
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