pub struct NodeTreeSnapshotBuilder { /* private fields */ }
Implementations§
Source§impl NodeTreeSnapshotBuilder
impl NodeTreeSnapshotBuilder
pub fn parent_index( self, parent_index: impl Into<i64>, ) -> NodeTreeSnapshotBuilder
pub fn parent_indexs<I, S>(self, parent_indexs: I) -> NodeTreeSnapshotBuilder
pub fn node_type(self, node_type: impl Into<i64>) -> NodeTreeSnapshotBuilder
pub fn node_types<I, S>(self, node_types: I) -> NodeTreeSnapshotBuilder
pub fn shadow_root_type( self, shadow_root_type: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn node_name( self, node_name: impl Into<StringIndex>, ) -> NodeTreeSnapshotBuilder
pub fn node_names<I, S>(self, node_names: I) -> NodeTreeSnapshotBuilder
pub fn node_value( self, node_value: impl Into<StringIndex>, ) -> NodeTreeSnapshotBuilder
pub fn node_values<I, S>(self, node_values: I) -> NodeTreeSnapshotBuilder
pub fn backend_node_id( self, backend_node_id: impl Into<BackendNodeId>, ) -> NodeTreeSnapshotBuilder
pub fn backend_node_ids<I, S>( self, backend_node_ids: I, ) -> NodeTreeSnapshotBuilder
pub fn attribute( self, attribute: impl Into<ArrayOfStrings>, ) -> NodeTreeSnapshotBuilder
pub fn attributes<I, S>(self, attributes: I) -> NodeTreeSnapshotBuilder
pub fn text_value( self, text_value: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn input_value( self, input_value: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn input_checked( self, input_checked: impl Into<RareBooleanData>, ) -> NodeTreeSnapshotBuilder
pub fn option_selected( self, option_selected: impl Into<RareBooleanData>, ) -> NodeTreeSnapshotBuilder
pub fn content_document_index( self, content_document_index: impl Into<RareIntegerData>, ) -> NodeTreeSnapshotBuilder
pub fn pseudo_type( self, pseudo_type: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn pseudo_identifier( self, pseudo_identifier: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn is_clickable( self, is_clickable: impl Into<RareBooleanData>, ) -> NodeTreeSnapshotBuilder
pub fn current_source_url( self, current_source_url: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn origin_url( self, origin_url: impl Into<RareStringData>, ) -> NodeTreeSnapshotBuilder
pub fn build(self) -> NodeTreeSnapshot
Trait Implementations§
Source§impl Clone for NodeTreeSnapshotBuilder
impl Clone for NodeTreeSnapshotBuilder
Source§fn clone(&self) -> NodeTreeSnapshotBuilder
fn clone(&self) -> NodeTreeSnapshotBuilder
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 NodeTreeSnapshotBuilder
impl Default for NodeTreeSnapshotBuilder
Source§fn default() -> NodeTreeSnapshotBuilder
fn default() -> NodeTreeSnapshotBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeTreeSnapshotBuilder
impl RefUnwindSafe for NodeTreeSnapshotBuilder
impl Send for NodeTreeSnapshotBuilder
impl Sync for NodeTreeSnapshotBuilder
impl Unpin for NodeTreeSnapshotBuilder
impl UnwindSafe for NodeTreeSnapshotBuilder
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