pub struct StyleLayerIndexV0 {
pub statement_layers: Vec<StyleLayerStatementV0>,
pub block_layers: Vec<StyleContextBlockV0>,
pub selector_memberships: Vec<StyleContextSelectorMembershipV0>,
pub named_layer_count: usize,
pub anonymous_layer_block_count: usize,
}Expand description
Cascade layer declarations, blocks, and selector membership.
Fields§
§statement_layers: Vec<StyleLayerStatementV0>§block_layers: Vec<StyleContextBlockV0>§selector_memberships: Vec<StyleContextSelectorMembershipV0>§named_layer_count: usize§anonymous_layer_block_count: usizeTrait Implementations§
Source§impl Clone for StyleLayerIndexV0
impl Clone for StyleLayerIndexV0
Source§fn clone(&self) -> StyleLayerIndexV0
fn clone(&self) -> StyleLayerIndexV0
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 StyleLayerIndexV0
impl Debug for StyleLayerIndexV0
Source§impl Default for StyleLayerIndexV0
impl Default for StyleLayerIndexV0
Source§fn default() -> StyleLayerIndexV0
fn default() -> StyleLayerIndexV0
Returns the “default value” for a type. Read more
impl Eq for StyleLayerIndexV0
Source§impl PartialEq for StyleLayerIndexV0
impl PartialEq for StyleLayerIndexV0
Source§fn eq(&self, other: &StyleLayerIndexV0) -> bool
fn eq(&self, other: &StyleLayerIndexV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StyleLayerIndexV0
impl Serialize for StyleLayerIndexV0
impl StructuralPartialEq for StyleLayerIndexV0
Auto Trait Implementations§
impl Freeze for StyleLayerIndexV0
impl RefUnwindSafe for StyleLayerIndexV0
impl Send for StyleLayerIndexV0
impl Sync for StyleLayerIndexV0
impl Unpin for StyleLayerIndexV0
impl UnsafeUnpin for StyleLayerIndexV0
impl UnwindSafe for StyleLayerIndexV0
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.