pub struct SetRuleSelectorParams<'a> { /* private fields */ }Expand description
Modifies the rule selector.
Implementations§
Source§impl<'a> SetRuleSelectorParams<'a>
impl<'a> SetRuleSelectorParams<'a>
pub fn builder( styleSheetId: StyleSheetId<'a>, range: SourceRange, selector: impl Into<Cow<'a, str>>, ) -> SetRuleSelectorParamsBuilder<'a>
pub fn styleSheetId(&self) -> &StyleSheetId<'a>
pub fn range(&self) -> &SourceRange
pub fn selector(&self) -> &str
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetRuleSelectorParams<'a>
impl<'a> CdpCommand<'a> for SetRuleSelectorParams<'a>
Source§impl<'a> Clone for SetRuleSelectorParams<'a>
impl<'a> Clone for SetRuleSelectorParams<'a>
Source§fn clone(&self) -> SetRuleSelectorParams<'a>
fn clone(&self) -> SetRuleSelectorParams<'a>
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<'a> Debug for SetRuleSelectorParams<'a>
impl<'a> Debug for SetRuleSelectorParams<'a>
Source§impl<'a> Default for SetRuleSelectorParams<'a>
impl<'a> Default for SetRuleSelectorParams<'a>
Source§fn default() -> SetRuleSelectorParams<'a>
fn default() -> SetRuleSelectorParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetRuleSelectorParams<'a>
impl<'de, 'a> Deserialize<'de> for SetRuleSelectorParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for SetRuleSelectorParams<'a>
impl<'a> RefUnwindSafe for SetRuleSelectorParams<'a>
impl<'a> Send for SetRuleSelectorParams<'a>
impl<'a> Sync for SetRuleSelectorParams<'a>
impl<'a> Unpin for SetRuleSelectorParams<'a>
impl<'a> UnsafeUnpin for SetRuleSelectorParams<'a>
impl<'a> UnwindSafe for SetRuleSelectorParams<'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