pub struct SetScopeText {
pub method: SetScopeTextMethod,
pub params: SetScopeTextParams,
}Expand description
Modifies the expression of a scope at-rule. setScopeText
Fields§
§method: SetScopeTextMethod§params: SetScopeTextParamsImplementations§
Source§impl SetScopeText
impl SetScopeText
pub fn builder() -> SetScopeTextBuilder
Source§impl SetScopeText
impl SetScopeText
pub const IDENTIFIER: &'static str = "CSS.setScopeText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetScopeText
impl Clone for SetScopeText
Source§fn clone(&self) -> SetScopeText
fn clone(&self) -> SetScopeText
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 CommandResult for SetScopeText
impl CommandResult for SetScopeText
type Result = SetScopeTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetScopeText
impl Debug for SetScopeText
Source§impl<'de> Deserialize<'de> for SetScopeText
impl<'de> Deserialize<'de> for SetScopeText
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 From<SetScopeText> for BrowserProtocolCommands
impl From<SetScopeText> for BrowserProtocolCommands
Source§fn from(v: SetScopeText) -> Self
fn from(v: SetScopeText) -> Self
Converts to this type from the input type.
Source§impl From<SetScopeText> for Command
impl From<SetScopeText> for Command
Source§fn from(v: SetScopeText) -> Self
fn from(v: SetScopeText) -> Self
Converts to this type from the input type.
Source§impl From<SetScopeText> for CssCommands
impl From<SetScopeText> for CssCommands
Source§fn from(v: SetScopeText) -> Self
fn from(v: SetScopeText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetScopeText
impl PartialEq for SetScopeText
Source§impl Serialize for SetScopeText
impl Serialize for SetScopeText
Source§impl TryFrom<BrowserProtocolCommands> for SetScopeText
impl TryFrom<BrowserProtocolCommands> for SetScopeText
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetScopeText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetScopeText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetScopeText
impl TryFrom<Command> for SetScopeText
Source§impl TryFrom<CssCommands> for SetScopeText
impl TryFrom<CssCommands> for SetScopeText
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <SetScopeText as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <SetScopeText as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetScopeText
Auto Trait Implementations§
impl Freeze for SetScopeText
impl RefUnwindSafe for SetScopeText
impl Send for SetScopeText
impl Sync for SetScopeText
impl Unpin for SetScopeText
impl UnsafeUnpin for SetScopeText
impl UnwindSafe for SetScopeText
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