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