Function rsass::compile_value [−][src]
pub fn compile_value(input: &[u8], format: Format) -> Result<Vec<u8>, Error>
Expand description
Parse a scss value from a buffer and write its css representation in the given format.
Example
assert_eq!(compile_value(b"10px + 4px", Default::default())?, b"14px"); assert_eq!(compile_value(b"10px 4px", Default::default())?, b"10px 4px");