pub struct CdpElement {
pub center_x: f64,
pub center_y: f64,
pub text: String,
pub tag: String,
pub match_type: String,
}Expand description
One element found via CDP Runtime.evaluate. Coordinates are viewport-relative (not screen-absolute).
Fields§
§center_x: f64Viewport-relative horizontal center.
center_y: f64Viewport-relative vertical center.
text: String§tag: String§match_type: StringTrait Implementations§
Source§impl Clone for CdpElement
impl Clone for CdpElement
Source§fn clone(&self) -> CdpElement
fn clone(&self) -> CdpElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CdpElement
impl RefUnwindSafe for CdpElement
impl Send for CdpElement
impl Sync for CdpElement
impl Unpin for CdpElement
impl UnsafeUnpin for CdpElement
impl UnwindSafe for CdpElement
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