Struct simplecss::StyleSheet [−][src]
Expand description
A style sheet.
Fields
rules: Vec<Rule<'a>>
A list of rules.
Implementations
Parses a style sheet from text.
At-rules are not supported and will be skipped.
Errors
Doesn’t produce any errors. In worst case scenario will return an empty stylesheet.
All warnings will be logged.
Parses a style sheet from a text to the current style sheet.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for StyleSheet<'a>
impl<'a> Send for StyleSheet<'a>
impl<'a> Sync for StyleSheet<'a>
impl<'a> Unpin for StyleSheet<'a>
impl<'a> UnwindSafe for StyleSheet<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more