Struct parcel_css::stylesheet::StyleSheet
source[−]pub struct StyleSheet {
pub filename: String,
pub rules: CssRuleList,
/* private fields */
}
Fields
filename: String
rules: CssRuleList
Implementations
pub fn parse<'i>(
filename: String,
code: &'i str,
options: ParserOptions
) -> Result<StyleSheet, ParseError<'i, ParserError<'i>>>
Auto Trait Implementations
impl RefUnwindSafe for StyleSheet
impl Send for StyleSheet
impl Sync for StyleSheet
impl Unpin for StyleSheet
impl UnwindSafe for StyleSheet
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more