pub fn write_root(
        &self,
        items: &[Item],
        globals: &mut dyn Scope,
        file_context: &impl FileContext,
    ) -> Result<Vec<u8>, Error> {
        let mut result = CssWriter::new(*self);
        for item in items {
            self.handle_root_item(item, globals, file_context, &mut result)?;
        }
        result.get_result()
    }
/// Write a slice of sass items in this format.
/// The `file_context` is needed if there are `@import` statements
/// in the sass file.
Write a slice of sass items in this format.
The `file_context` is needed if there are `@import` statements
in the sass file.
Write a slice of sass items in this format . The ` file_context ` is needed if there are ` @import ` statements in the sass file .
pub fn write_root(
        &self,
        items: &[Item],
        globals: &mut dyn Scope,
        file_context: &impl FileContext,
    ) -> Result<Vec<u8>, Error> {
        let mut result = CssWriter::new(*self);
        for item in items {
            self.handle_root_item(item, globals, file_context, &mut result)?;
        }
        result.get_result()
    }
pub fn write_root ( & self , items : & [ Item ] , globals : & mut dyn Scope , file_context : & impl FileContext , ) -> Result < Vec < u8 > , Error > { let mut result = CssWriter :: new ( * self ) ; for item in items { self . handle_root_item ( item , globals , file_context , & mut result ) ? ; } result . get_result ( ) }
Write a slice of sass items in this format.
Write a slice of sass items in this format .
&self
items
&[Item]
globals
&mut dyn Scope
file_context
&impl FileContext
&self
items
&[Item]
globals
&mut dyn Scope
file_context
&impl FileContext