pub struct CSSContainerQuery {
pub text: String,
pub range: Option<SourceRange>,
pub styleSheetId: Option<StyleSheetId>,
pub name: Option<String>,
pub physicalAxes: Option<PhysicalAxes>,
pub logicalAxes: Option<LogicalAxes>,
pub queriesScrollState: Option<bool>,
pub queriesAnchored: Option<bool>,
}Expand description
CSS container query rule descriptor.
Fields§
§text: StringContainer query text.
range: Option<SourceRange>The associated rule header range in the enclosing stylesheet (if available).
styleSheetId: Option<StyleSheetId>Identifier of the stylesheet containing this object (if exists).
name: Option<String>Optional name for the container.
physicalAxes: Option<PhysicalAxes>Optional physical axes queried for the container.
logicalAxes: Option<LogicalAxes>Optional logical axes queried for the container.
queriesScrollState: Option<bool>true if the query contains scroll-state() queries.
queriesAnchored: Option<bool>true if the query contains anchored() queries.
Trait Implementations§
Source§impl Clone for CSSContainerQuery
impl Clone for CSSContainerQuery
Source§fn clone(&self) -> CSSContainerQuery
fn clone(&self) -> CSSContainerQuery
Returns a duplicate 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 CSSContainerQuery
impl Debug for CSSContainerQuery
Source§impl Default for CSSContainerQuery
impl Default for CSSContainerQuery
Source§fn default() -> CSSContainerQuery
fn default() -> CSSContainerQuery
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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