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