pub enum ContainerQuerySyntax {
Or,
And,
Width {
value: f64,
operator: StyleQueryComparisonOperator,
},
Height {
value: f64,
operator: StyleQueryComparisonOperator,
},
}Expand description
A syntax element of a parsed container query.
Variants§
Or
Separator of alternatives (,).
And
Conjunction of features (and).
Width
A width feature (width, min-width, max-width).
Height
A height feature (height, min-height, max-height).
Trait Implementations§
Source§impl Clone for ContainerQuerySyntax
impl Clone for ContainerQuerySyntax
Source§impl Debug for ContainerQuerySyntax
impl Debug for ContainerQuerySyntax
Source§impl PartialEq for ContainerQuerySyntax
impl PartialEq for ContainerQuerySyntax
impl StructuralPartialEq for ContainerQuerySyntax
Auto Trait Implementations§
impl Freeze for ContainerQuerySyntax
impl RefUnwindSafe for ContainerQuerySyntax
impl Send for ContainerQuerySyntax
impl Sync for ContainerQuerySyntax
impl Unpin for ContainerQuerySyntax
impl UnsafeUnpin for ContainerQuerySyntax
impl UnwindSafe for ContainerQuerySyntax
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more