pub struct SetOuterHTMLBuilder { /* private fields */ }Expand description
Builder for SetOuterHTML.
Implementations§
Source§impl SetOuterHTMLBuilder
impl SetOuterHTMLBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Id of the node to set markup for.
Sourcepub fn outer_html<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn outer_html<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Outer HTML markup to set.
Sourcepub fn build(&self) -> Result<SetOuterHTML, SetOuterHTMLBuilderError>
pub fn build(&self) -> Result<SetOuterHTML, SetOuterHTMLBuilderError>
Trait Implementations§
Source§impl Clone for SetOuterHTMLBuilder
impl Clone for SetOuterHTMLBuilder
Source§fn clone(&self) -> SetOuterHTMLBuilder
fn clone(&self) -> SetOuterHTMLBuilder
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 SetOuterHTMLBuilder
impl RefUnwindSafe for SetOuterHTMLBuilder
impl Send for SetOuterHTMLBuilder
impl Sync for SetOuterHTMLBuilder
impl Unpin for SetOuterHTMLBuilder
impl UnsafeUnpin for SetOuterHTMLBuilder
impl UnwindSafe for SetOuterHTMLBuilder
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