pub struct ForceStartingStyleParams {
pub node_id: NodeId,
pub forced: bool,
}
Expand description
Ensures that the given node is in its starting-style state. forceStartingStyle
Fields§
§node_id: NodeId
The element id for which to force the starting-style state.
forced: bool
Boolean indicating if this is on or off.
Implementations§
Source§impl ForceStartingStyleParams
impl ForceStartingStyleParams
pub const IDENTIFIER: &'static str = "CSS.forceStartingStyle"
Trait Implementations§
Source§impl Clone for ForceStartingStyleParams
impl Clone for ForceStartingStyleParams
Source§fn clone(&self) -> ForceStartingStyleParams
fn clone(&self) -> ForceStartingStyleParams
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 Command for ForceStartingStyleParams
impl Command for ForceStartingStyleParams
Source§impl Debug for ForceStartingStyleParams
impl Debug for ForceStartingStyleParams
Source§impl<'de> Deserialize<'de> for ForceStartingStyleParams
impl<'de> Deserialize<'de> for ForceStartingStyleParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceStartingStyleParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceStartingStyleParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for ForceStartingStyleParams
impl Method for ForceStartingStyleParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl PartialEq for ForceStartingStyleParams
impl PartialEq for ForceStartingStyleParams
Source§impl Serialize for ForceStartingStyleParams
impl Serialize for ForceStartingStyleParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ForceStartingStyleParams
Auto Trait Implementations§
impl Freeze for ForceStartingStyleParams
impl RefUnwindSafe for ForceStartingStyleParams
impl Send for ForceStartingStyleParams
impl Sync for ForceStartingStyleParams
impl Unpin for ForceStartingStyleParams
impl UnwindSafe for ForceStartingStyleParams
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