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. getLocationForSelector
Fields§
§style_sheet_id: StyleSheetId§selector_text: StringImplementations§
Trait Implementations§
Source§impl Clone for GetLocationForSelectorParams
impl Clone for GetLocationForSelectorParams
Source§fn clone(&self) -> GetLocationForSelectorParams
fn clone(&self) -> GetLocationForSelectorParams
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 moreSource§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
Source§impl PartialEq for GetLocationForSelectorParams
impl PartialEq for GetLocationForSelectorParams
Source§fn eq(&self, other: &GetLocationForSelectorParams) -> bool
fn eq(&self, other: &GetLocationForSelectorParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetLocationForSelectorParams
Auto Trait Implementations§
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