pub struct GetLocationForSelectorParams {
pub styleSheetId: StyleSheetId,
pub selectorText: 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.
Fields§
§styleSheetId: StyleSheetId§selectorText: StringTrait 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 Default for GetLocationForSelectorParams
impl Default for GetLocationForSelectorParams
Source§fn default() -> GetLocationForSelectorParams
fn default() -> GetLocationForSelectorParams
Returns the “default value” for a type. Read more
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
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