pub struct AdaptiveElement<'a> { /* private fields */ }Expand description
A located element: the scraper ElementRef plus its owner document’s tree.
Implementations§
Source§impl<'a> AdaptiveElement<'a>
impl<'a> AdaptiveElement<'a>
Sourcepub fn fingerprint(&self) -> ElementFingerprint
pub fn fingerprint(&self) -> ElementFingerprint
Capture the fingerprint for later relocation.
Sourcepub fn as_element_ref(&self) -> ElementRef<'a>
pub fn as_element_ref(&self) -> ElementRef<'a>
The wrapped scraper element, for anything this API doesn’t cover.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AdaptiveElement<'a>
impl<'a> !Send for AdaptiveElement<'a>
impl<'a> !Sync for AdaptiveElement<'a>
impl<'a> !UnwindSafe for AdaptiveElement<'a>
impl<'a> Freeze for AdaptiveElement<'a>
impl<'a> Unpin for AdaptiveElement<'a>
impl<'a> UnsafeUnpin for AdaptiveElement<'a>
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