pub struct SetScopeTextParams {
pub style_sheet_id: StyleSheetId,
pub range: SourceRange,
pub text: String,
}Expand description
Modifies the expression of a scope at-rule. setScopeText
Fields§
§style_sheet_id: StyleSheetId§range: SourceRange§text: StringImplementations§
Source§impl SetScopeTextParams
impl SetScopeTextParams
pub fn new( style_sheet_id: impl Into<StyleSheetId>, range: impl Into<SourceRange>, text: impl Into<String>, ) -> Self
Trait Implementations§
Source§impl Clone for SetScopeTextParams
impl Clone for SetScopeTextParams
Source§fn clone(&self) -> SetScopeTextParams
fn clone(&self) -> SetScopeTextParams
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 SetScopeTextParams
impl Debug for SetScopeTextParams
Source§impl<'de> Deserialize<'de> for SetScopeTextParams
impl<'de> Deserialize<'de> for SetScopeTextParams
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 SetScopeTextParams
impl PartialEq for SetScopeTextParams
Source§impl Serialize for SetScopeTextParams
impl Serialize for SetScopeTextParams
impl StructuralPartialEq for SetScopeTextParams
Auto Trait Implementations§
impl Freeze for SetScopeTextParams
impl RefUnwindSafe for SetScopeTextParams
impl Send for SetScopeTextParams
impl Sync for SetScopeTextParams
impl Unpin for SetScopeTextParams
impl UnsafeUnpin for SetScopeTextParams
impl UnwindSafe for SetScopeTextParams
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