pub struct GetInlineStylesForNodeReturns {
pub inlineStyle: Option<CSSStyle>,
pub attributesStyle: 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’.
Fields§
§inlineStyle: Option<CSSStyle>Inline style for the specified DOM node.
attributesStyle: Option<CSSStyle>Attribute-defined element style (e.g. resulting from “width=20 height=100%”).
Trait Implementations§
Source§impl Clone for GetInlineStylesForNodeReturns
impl Clone for GetInlineStylesForNodeReturns
Source§fn clone(&self) -> GetInlineStylesForNodeReturns
fn clone(&self) -> GetInlineStylesForNodeReturns
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 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<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
Auto Trait Implementations§
impl Freeze for GetInlineStylesForNodeReturns
impl RefUnwindSafe for GetInlineStylesForNodeReturns
impl Send for GetInlineStylesForNodeReturns
impl Sync for GetInlineStylesForNodeReturns
impl Unpin for GetInlineStylesForNodeReturns
impl UnsafeUnpin 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