Enum grass::OutputStyle
source · #[non_exhaustive]
pub enum OutputStyle {
Expanded,
Compressed,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Expanded
This mode writes each selector and declaration on its own line.
This is the default output.
Compressed
Ideal for release builds, this mode removes as many extra characters as possible and writes the entire stylesheet on a single line.
Trait Implementations§
source§impl Clone for OutputStyle
impl Clone for OutputStyle
source§fn clone(&self) -> OutputStyle
fn clone(&self) -> OutputStyle
Returns a copy 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 OutputStyle
impl Debug for OutputStyle
source§impl Hash for OutputStyle
impl Hash for OutputStyle
source§impl PartialEq<OutputStyle> for OutputStyle
impl PartialEq<OutputStyle> for OutputStyle
source§fn eq(&self, other: &OutputStyle) -> bool
fn eq(&self, other: &OutputStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutputStyle
impl Eq for OutputStyle
impl StructuralEq for OutputStyle
impl StructuralPartialEq for OutputStyle
Auto Trait Implementations§
impl RefUnwindSafe for OutputStyle
impl Send for OutputStyle
impl Sync for OutputStyle
impl Unpin for OutputStyle
impl UnwindSafe for OutputStyle
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.