pub struct CssContainerQuery {
pub text: String,
pub range: Option<SourceRange>,
pub style_sheet_id: Option<StyleSheetId>,
pub name: Option<String>,
pub physical_axes: Option<PhysicalAxes>,
pub logical_axes: Option<LogicalAxes>,
pub queries_scroll_state: Option<bool>,
pub queries_anchored: Option<bool>,
pub condition_text: String,
}Expand description
CSS container query rule descriptor.
Experimental: may change without notice.
Fields§
§text: StringContainer query text. Contains the query part without the container name for a single query. Deprecated in favor of conditionText which contains the full prelude after @container.
Deprecated in the protocol.
range: Option<SourceRange>The associated rule header range in the enclosing stylesheet (if available).
style_sheet_id: Option<StyleSheetId>Identifier of the stylesheet containing this object (if exists).
name: Option<String>Optional name for the container.
physical_axes: Option<PhysicalAxes>Optional physical axes queried for the container.
logical_axes: Option<LogicalAxes>Optional logical axes queried for the container.
queries_scroll_state: Option<bool>true if the query contains scroll-state() queries.
queries_anchored: Option<bool>true if the query contains anchored() queries.
condition_text: StringCSSContainerRule.conditionText
Trait Implementations§
Source§impl Clone for CssContainerQuery
impl Clone for CssContainerQuery
Source§impl Debug for CssContainerQuery
impl Debug for CssContainerQuery
Source§impl Default for CssContainerQuery
impl Default for CssContainerQuery
Source§impl<'de> Deserialize<'de> for CssContainerQuery
impl<'de> Deserialize<'de> for CssContainerQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CssContainerQuery
impl PartialEq for CssContainerQuery
Source§impl Serialize for CssContainerQuery
impl Serialize for CssContainerQuery
impl StructuralPartialEq for CssContainerQuery
Auto Trait Implementations§
impl Forget for CssContainerQuery
impl Freeze for CssContainerQuery
impl RefUnwindSafe for CssContainerQuery
impl Send for CssContainerQuery
impl Sync for CssContainerQuery
impl Unpin for CssContainerQuery
impl UnsafeUnpin for CssContainerQuery
impl UnwindSafe for CssContainerQuery
Blanket Implementations§
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