pub struct GetInlineStylesForNodeReturns {
pub inline_style: Option<CssStyle>,
pub attributes_style: Option<CssStyle>,
}
Expand description
Returns the styles defined inline (explicitly in the “style” attribute and implicitly, using DOM
attributes) for a DOM node identified by nodeId
.
getInlineStylesForNode
Fields§
§inline_style: Option<CssStyle>
Inline style for the specified DOM node.
attributes_style: Option<CssStyle>
Attribute-defined element style (e.g. resulting from “width=20 height=100%”).
Implementations§
Trait Implementations§
source§impl Clone for GetInlineStylesForNodeReturns
impl Clone for GetInlineStylesForNodeReturns
source§fn clone(&self) -> GetInlineStylesForNodeReturns
fn clone(&self) -> GetInlineStylesForNodeReturns
Returns a copy 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 Default for GetInlineStylesForNodeReturns
impl Default for GetInlineStylesForNodeReturns
source§fn default() -> GetInlineStylesForNodeReturns
fn default() -> GetInlineStylesForNodeReturns
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetInlineStylesForNodeReturns
impl<'de> Deserialize<'de> for GetInlineStylesForNodeReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetInlineStylesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetInlineStylesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetInlineStylesForNodeReturns
impl PartialEq for GetInlineStylesForNodeReturns
source§fn eq(&self, other: &GetInlineStylesForNodeReturns) -> bool
fn eq(&self, other: &GetInlineStylesForNodeReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetInlineStylesForNodeReturns
impl Serialize for GetInlineStylesForNodeReturns
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 GetInlineStylesForNodeReturns
Auto Trait Implementations§
impl Freeze for GetInlineStylesForNodeReturns
impl RefUnwindSafe for GetInlineStylesForNodeReturns
impl Send for GetInlineStylesForNodeReturns
impl Sync for GetInlineStylesForNodeReturns
impl Unpin for GetInlineStylesForNodeReturns
impl UnwindSafe for GetInlineStylesForNodeReturns
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