pub struct ParserDeclarationSelectorContextV0 {
pub reset_to_root: bool,
pub selector_members: Vec<String>,
}Expand description
One selector-bearing CST ancestor of a declaration.
reset_to_root is true only for the selector form of Sass @at-root.
The selector members come from CST-owned rule boundaries rather than a
declaration-string scan.
Fields§
§reset_to_root: bool§selector_members: Vec<String>Trait Implementations§
Source§impl Clone for ParserDeclarationSelectorContextV0
impl Clone for ParserDeclarationSelectorContextV0
Source§fn clone(&self) -> ParserDeclarationSelectorContextV0
fn clone(&self) -> ParserDeclarationSelectorContextV0
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 moreimpl Eq for ParserDeclarationSelectorContextV0
impl StructuralPartialEq for ParserDeclarationSelectorContextV0
Auto Trait Implementations§
impl Freeze for ParserDeclarationSelectorContextV0
impl RefUnwindSafe for ParserDeclarationSelectorContextV0
impl Send for ParserDeclarationSelectorContextV0
impl Sync for ParserDeclarationSelectorContextV0
impl Unpin for ParserDeclarationSelectorContextV0
impl UnsafeUnpin for ParserDeclarationSelectorContextV0
impl UnwindSafe for ParserDeclarationSelectorContextV0
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.