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