Type Definition lightningcss::selector::SelectorList
source · pub type SelectorList<'i> = SelectorList<'i, Selectors>;
Expand description
A list of selectors.
Trait Implementations§
source§impl<'i> ToCss for SelectorList<'i>
impl<'i> ToCss for SelectorList<'i>
source§fn to_css<W>(
&self,
dest: &mut Printer<'_, '_, '_, W>
) -> Result<(), PrinterError>where
W: Write,
fn to_css<W>(
&self,
dest: &mut Printer<'_, '_, '_, W>
) -> Result<(), PrinterError>where
W: Write,
Serialize
self
in CSS syntax, writing to dest
.source§fn to_css_string(
&self,
options: PrinterOptions<'_>
) -> Result<String, PrinterError>
fn to_css_string(
&self,
options: PrinterOptions<'_>
) -> Result<String, PrinterError>
Serialize
self
in CSS syntax and return a string. Read moresource§impl<'i, T: Visit<'i, T, V>, V: Visitor<'i, T>> Visit<'i, T, V> for SelectorList<'i>
impl<'i, T: Visit<'i, T, V>, V: Visitor<'i, T>> Visit<'i, T, V> for SelectorList<'i>
source§const CHILD_TYPES: VisitTypes = VisitTypes::SELECTORS
const CHILD_TYPES: VisitTypes = VisitTypes::SELECTORS
The types of values contained within this value and its children.
This is used to skip branches that don’t have any values requested
by the Visitor. Read more
source§fn visit_children(&mut self, visitor: &mut V)
fn visit_children(&mut self, visitor: &mut V)
Visit the children of this value.