pub struct RuleMatchBuilder { /* private fields */ }Expand description
Builder for RuleMatch.
Implementations§
Source§impl RuleMatchBuilder
impl RuleMatchBuilder
Sourcepub fn matching_selectors<VALUE: Into<Vec<JsUInt>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn matching_selectors<VALUE: Into<Vec<JsUInt>>>( &mut self, value: VALUE, ) -> &mut Self
Matching selector indices in the rule’s selectorList selectors (0-based).
Trait Implementations§
Source§impl Clone for RuleMatchBuilder
impl Clone for RuleMatchBuilder
Source§fn clone(&self) -> RuleMatchBuilder
fn clone(&self) -> RuleMatchBuilder
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 Freeze for RuleMatchBuilder
impl RefUnwindSafe for RuleMatchBuilder
impl Send for RuleMatchBuilder
impl Sync for RuleMatchBuilder
impl Unpin for RuleMatchBuilder
impl UnsafeUnpin for RuleMatchBuilder
impl UnwindSafe for RuleMatchBuilder
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