#[non_exhaustive]pub struct SelectorList<'a> {
pub sel: SelectorCombinator<'a>,
pub next: Option<AstRef<'a, SelectorList<'a>>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.sel: SelectorCombinator<'a>
§next: Option<AstRef<'a, SelectorList<'a>>>
Implementations§
Source§impl<'a> SelectorList<'a>
impl<'a> SelectorList<'a>
pub const fn new( sel: SelectorCombinator<'a>, next: Option<AstRef<'a, SelectorList<'a>>>, ) -> Self
Trait Implementations§
Source§impl<'a> AstArenaFlatten<'a> for SelectorList<'a>
impl<'a> AstArenaFlatten<'a> for SelectorList<'a>
Source§impl<'a> AstType<'a> for SelectorList<'a>
impl<'a> AstType<'a> for SelectorList<'a>
Source§impl<'a> Clone for SelectorList<'a>
impl<'a> Clone for SelectorList<'a>
Source§fn clone(&self) -> SelectorList<'a>
fn clone(&self) -> SelectorList<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for SelectorList<'a>
impl<'a> RefUnwindSafe for SelectorList<'a>
impl<'a> Send for SelectorList<'a>
impl<'a> Sync for SelectorList<'a>
impl<'a> Unpin for SelectorList<'a>
impl<'a> UnwindSafe for SelectorList<'a>
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