Struct swc_css_ast::ContainerCondition
source · pub struct ContainerCondition {
pub span: Span,
pub name: Option<ContainerName>,
pub query: ContainerQuery,
}
Fields§
§span: Span
§name: Option<ContainerName>
§query: ContainerQuery
Trait Implementations§
source§impl Clone for ContainerCondition
impl Clone for ContainerCondition
source§fn clone(&self) -> ContainerCondition
fn clone(&self) -> ContainerCondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContainerCondition
impl Debug for ContainerCondition
source§impl EqIgnoreSpan for ContainerCondition
impl EqIgnoreSpan for ContainerCondition
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<ContainerCondition> for AtRulePrelude
impl From<ContainerCondition> for AtRulePrelude
source§fn from(v: ContainerCondition) -> Self
fn from(v: ContainerCondition) -> Self
Converts to this type from the input type.
source§impl Hash for ContainerCondition
impl Hash for ContainerCondition
source§impl PartialEq<ContainerCondition> for ContainerCondition
impl PartialEq<ContainerCondition> for ContainerCondition
source§fn eq(&self, other: &ContainerCondition) -> bool
fn eq(&self, other: &ContainerCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.