pub struct GetInlineStylesForNodeReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetInlineStylesForNodeReturnObject.
Implementations§
Source§impl GetInlineStylesForNodeReturnObjectBuilder
impl GetInlineStylesForNodeReturnObjectBuilder
Sourcepub fn inline_style(&mut self, value: Option<CssStyle>) -> &mut Self
pub fn inline_style(&mut self, value: Option<CssStyle>) -> &mut Self
Inline style for the specified DOM node.
Sourcepub fn attributes_style(&mut self, value: Option<CssStyle>) -> &mut Self
pub fn attributes_style(&mut self, value: Option<CssStyle>) -> &mut Self
Attribute-defined element style (e.g. resulting from “width=20 height=100%”).
Sourcepub fn build(
&self,
) -> Result<GetInlineStylesForNodeReturnObject, GetInlineStylesForNodeReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetInlineStylesForNodeReturnObject, GetInlineStylesForNodeReturnObjectBuilderError>
Builds a new GetInlineStylesForNodeReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetInlineStylesForNodeReturnObjectBuilder
impl Clone for GetInlineStylesForNodeReturnObjectBuilder
Source§fn clone(&self) -> GetInlineStylesForNodeReturnObjectBuilder
fn clone(&self) -> GetInlineStylesForNodeReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetInlineStylesForNodeReturnObjectBuilder
impl RefUnwindSafe for GetInlineStylesForNodeReturnObjectBuilder
impl Send for GetInlineStylesForNodeReturnObjectBuilder
impl Sync for GetInlineStylesForNodeReturnObjectBuilder
impl Unpin for GetInlineStylesForNodeReturnObjectBuilder
impl UnsafeUnpin for GetInlineStylesForNodeReturnObjectBuilder
impl UnwindSafe for GetInlineStylesForNodeReturnObjectBuilder
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