Struct parcel_css::declaration::DeclarationBlock
source · [−]pub struct DeclarationBlock {
pub important_declarations: Vec<Property>,
pub declarations: Vec<Property>,
}
Fields
important_declarations: Vec<Property>
declarations: Vec<Property>
Implementations
pub fn parse<'i, 't>(
input: &mut Parser<'i, 't>,
options: &ParserOptions
) -> Result<Self, ParseError<'i, ParserError<'i>>>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeclarationBlock
impl Send for DeclarationBlock
impl Sync for DeclarationBlock
impl Unpin for DeclarationBlock
impl UnwindSafe for DeclarationBlock
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