pub struct BuildCss<'a> { /* private fields */ }Expand description
A CSS+ project build, comprising a collection of CSS+ files which may
reference eachother (via @import).
Implementations
sourceimpl<'a> BuildCss<'a>
impl<'a> BuildCss<'a>
An incremental build struct for compiling a project’s CSS sources.
Example
let mut build = procss::BuildCss::new("./src");
build.add("app.scss");
build.compile().unwrap().write("./dist").unwrap();sourcepub fn compile(&'a mut self) -> Result<CompiledCss<'a>>
pub fn compile(&'a mut self) -> Result<CompiledCss<'a>>
Compile this BuildCss start-to-finish, applying all transforms along
the way.
Auto Trait Implementations
impl<'a> RefUnwindSafe for BuildCss<'a>
impl<'a> Send for BuildCss<'a>
impl<'a> Sync for BuildCss<'a>
impl<'a> Unpin for BuildCss<'a>
impl<'a> UnwindSafe for BuildCss<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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