pub struct DomNodeBuilder { /* private fields */ }
Implementations§
Source§impl DomNodeBuilder
impl DomNodeBuilder
pub fn node_type(self, node_type: impl Into<i64>) -> DomNodeBuilder
pub fn node_name(self, node_name: impl Into<String>) -> DomNodeBuilder
pub fn node_value(self, node_value: impl Into<String>) -> DomNodeBuilder
pub fn text_value(self, text_value: impl Into<String>) -> DomNodeBuilder
pub fn input_value(self, input_value: impl Into<String>) -> DomNodeBuilder
pub fn input_checked(self, input_checked: impl Into<bool>) -> DomNodeBuilder
pub fn option_selected(self, option_selected: impl Into<bool>) -> DomNodeBuilder
pub fn backend_node_id( self, backend_node_id: impl Into<BackendNodeId>, ) -> DomNodeBuilder
pub fn child_node_indexe( self, child_node_indexe: impl Into<i64>, ) -> DomNodeBuilder
pub fn child_node_indexes<I, S>(self, child_node_indexes: I) -> DomNodeBuilder
pub fn attribute(self, attribute: impl Into<NameValue>) -> DomNodeBuilder
pub fn attributes<I, S>(self, attributes: I) -> DomNodeBuilder
pub fn pseudo_element_indexe( self, pseudo_element_indexe: impl Into<i64>, ) -> DomNodeBuilder
pub fn pseudo_element_indexes<I, S>( self, pseudo_element_indexes: I, ) -> DomNodeBuilder
pub fn layout_node_index( self, layout_node_index: impl Into<i64>, ) -> DomNodeBuilder
pub fn document_url(self, document_url: impl Into<String>) -> DomNodeBuilder
pub fn base_url(self, base_url: impl Into<String>) -> DomNodeBuilder
pub fn content_language( self, content_language: impl Into<String>, ) -> DomNodeBuilder
pub fn document_encoding( self, document_encoding: impl Into<String>, ) -> DomNodeBuilder
pub fn public_id(self, public_id: impl Into<String>) -> DomNodeBuilder
pub fn system_id(self, system_id: impl Into<String>) -> DomNodeBuilder
pub fn frame_id(self, frame_id: impl Into<FrameId>) -> DomNodeBuilder
pub fn content_document_index( self, content_document_index: impl Into<i64>, ) -> DomNodeBuilder
pub fn pseudo_type(self, pseudo_type: impl Into<PseudoType>) -> DomNodeBuilder
pub fn shadow_root_type( self, shadow_root_type: impl Into<ShadowRootType>, ) -> DomNodeBuilder
pub fn is_clickable(self, is_clickable: impl Into<bool>) -> DomNodeBuilder
pub fn event_listener( self, event_listener: impl Into<EventListener>, ) -> DomNodeBuilder
pub fn event_listeners<I, S>(self, event_listeners: I) -> DomNodeBuilder
pub fn current_source_url( self, current_source_url: impl Into<String>, ) -> DomNodeBuilder
pub fn origin_url(self, origin_url: impl Into<String>) -> DomNodeBuilder
pub fn scroll_offset_x(self, scroll_offset_x: impl Into<f64>) -> DomNodeBuilder
pub fn scroll_offset_y(self, scroll_offset_y: impl Into<f64>) -> DomNodeBuilder
pub fn build(self) -> Result<DomNode, String>
Trait Implementations§
Source§impl Clone for DomNodeBuilder
impl Clone for DomNodeBuilder
Source§fn clone(&self) -> DomNodeBuilder
fn clone(&self) -> DomNodeBuilder
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 DomNodeBuilder
impl Default for DomNodeBuilder
Source§fn default() -> DomNodeBuilder
fn default() -> DomNodeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DomNodeBuilder
impl RefUnwindSafe for DomNodeBuilder
impl Send for DomNodeBuilder
impl Sync for DomNodeBuilder
impl Unpin for DomNodeBuilder
impl UnwindSafe for DomNodeBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more