pub struct GetLocationForSelectorParams {
pub style_sheet_id: StyleSheetId,
pub selector_text: String,
}Expand description
Given a CSS selector text and a style sheet ID, getLocationForSelector returns an array of locations of the CSS selector in the style sheet.
Experimental: may change without notice.
Parameters of CSS.getLocationForSelector.
Fields§
§style_sheet_id: StyleSheetId§selector_text: StringTrait Implementations§
Source§impl Clone for GetLocationForSelectorParams
impl Clone for GetLocationForSelectorParams
Source§impl Debug for GetLocationForSelectorParams
impl Debug for GetLocationForSelectorParams
Source§impl<'de> Deserialize<'de> for GetLocationForSelectorParams
impl<'de> Deserialize<'de> for GetLocationForSelectorParams
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
impl StructuralPartialEq for GetLocationForSelectorParams
Auto Trait Implementations§
impl Forget for GetLocationForSelectorParams
impl Freeze for GetLocationForSelectorParams
impl RefUnwindSafe for GetLocationForSelectorParams
impl Send for GetLocationForSelectorParams
impl Sync for GetLocationForSelectorParams
impl Unpin for GetLocationForSelectorParams
impl UnsafeUnpin for GetLocationForSelectorParams
impl UnwindSafe for GetLocationForSelectorParams
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