DomElementRow
yosoi::view::DomElementRow
pub struct DomElementRow
A row naming one exact locator-backed DOM element reference.
Source: crates/yosoi/src/view.rs:68
Methods
Section titled “Methods”coordinate
Section titled “coordinate”pub const fn coordinate(&self) -> &yosoi::locators::NativeCoordinate
Borrows the native source-tree coordinate without resolving a live browser element.
Source: crates/yosoi/src/view.rs:87
pub const fn node(&self) -> &yosoi::locators::NodeReference
Borrows the document-bound locator node reference for this exact row.
Source: crates/yosoi/src/view.rs:82
ordinal
Section titled “ordinal”pub const fn ordinal(&self) -> u64
Returns the deterministic zero-based position among elements of the captured document.
Source: crates/yosoi/src/view.rs:77
text_preview
Section titled “text_preview”pub fn text_preview(&self) -> &str
Returns the bounded descendant-text preview captured for this element.
Source: crates/yosoi/src/view.rs:92
text_truncated
Section titled “text_truncated”pub const fn text_truncated(&self) -> bool
Reports whether the source element’s descendant text exceeded the preview.
Source: crates/yosoi/src/view.rs:97
Trait implementations
Section titled “Trait implementations”Clone
fn clone(&self) -> yosoi::view::DomElementRow
Debug
fn fmt(&self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Deserialize
deserialize
Section titled “deserialize”fn deserialize<__D>(__deserializer: __D) -> _serde::__private229::Result<Self, <__D as >::Error> where __D: _serde::Deserializer<'de>
PartialEq
fn eq(&self, other: &yosoi::view::DomElementRow) -> bool
Serialize
serialize
Section titled “serialize”fn serialize<__S>(&self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error> where __S: _serde::Serializer