pub struct RelativeSelector {
pub combinator: Option<Combinator>,
pub selector: Selector,
}Fields§
§combinator: Option<Combinator>§selector: SelectorTrait Implementations§
Source§impl Clone for RelativeSelector
impl Clone for RelativeSelector
Source§fn clone(&self) -> RelativeSelector
fn clone(&self) -> RelativeSelector
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 RelativeSelector
impl Debug for RelativeSelector
Source§impl PartialEq for RelativeSelector
impl PartialEq for RelativeSelector
Source§fn eq(&self, other: &RelativeSelector) -> bool
fn eq(&self, other: &RelativeSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelativeSelector
Auto Trait Implementations§
impl Freeze for RelativeSelector
impl RefUnwindSafe for RelativeSelector
impl Send for RelativeSelector
impl Sync for RelativeSelector
impl Unpin for RelativeSelector
impl UnsafeUnpin for RelativeSelector
impl UnwindSafe for RelativeSelector
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