Struct style::properties::SourcePropertyDeclaration [] [src]

pub struct SourcePropertyDeclaration { /* fields omitted */ }

A stack-allocated vector of PropertyDeclaration large enough to parse one CSS key: value declaration. (Shorthands expand to multiple PropertyDeclarations.)

Methods

impl SourcePropertyDeclaration
[src]

[src]

Create one. It’s big, try not to move it around.

[src]

Similar to Vec::drain: leaves this empty when the return value is dropped.

[src]

Reset to initial state