pub struct StyleContextIndexV0 {
pub schema_version: &'static str,
pub product: &'static str,
pub layer_index: StyleLayerIndexV0,
pub container_index: StyleContainerIndexV0,
pub scope_index: StyleScopeIndexV0,
pub selector_context_count: usize,
pub ready_surfaces: Vec<&'static str>,
}Expand description
Explicit semantic indexes for CSS wrapper contexts that affect cascade and queries.
Fields§
§schema_version: &'static str§product: &'static str§layer_index: StyleLayerIndexV0§container_index: StyleContainerIndexV0§scope_index: StyleScopeIndexV0§selector_context_count: usize§ready_surfaces: Vec<&'static str>Trait Implementations§
Source§impl Clone for StyleContextIndexV0
impl Clone for StyleContextIndexV0
Source§fn clone(&self) -> StyleContextIndexV0
fn clone(&self) -> StyleContextIndexV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StyleContextIndexV0
impl Debug for StyleContextIndexV0
Source§impl Default for StyleContextIndexV0
impl Default for StyleContextIndexV0
Source§fn default() -> StyleContextIndexV0
fn default() -> StyleContextIndexV0
Returns the “default value” for a type. Read more
impl Eq for StyleContextIndexV0
Source§impl PartialEq for StyleContextIndexV0
impl PartialEq for StyleContextIndexV0
Source§fn eq(&self, other: &StyleContextIndexV0) -> bool
fn eq(&self, other: &StyleContextIndexV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StyleContextIndexV0
impl Serialize for StyleContextIndexV0
impl StructuralPartialEq for StyleContextIndexV0
Auto Trait Implementations§
impl Freeze for StyleContextIndexV0
impl RefUnwindSafe for StyleContextIndexV0
impl Send for StyleContextIndexV0
impl Sync for StyleContextIndexV0
impl Unpin for StyleContextIndexV0
impl UnsafeUnpin for StyleContextIndexV0
impl UnwindSafe for StyleContextIndexV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.