pub enum LivePattern {
Text(String),
Placeholder(String),
Role(String),
Css(String),
Id(String),
}Expand description
Live targeting patterns - all resolved via JS injection.
Variants§
Text(String)
text:Submit - find by visible text
Placeholder(String)
placeholder:Enter code - find by placeholder
Role(String)
role:button - find by tag/ARIA role
Css(String)
css:form button - direct CSS selector
Id(String)
id:submit-btn - find by ID
Implementations§
Trait Implementations§
Source§impl Clone for LivePattern
impl Clone for LivePattern
Source§fn clone(&self) -> LivePattern
fn clone(&self) -> LivePattern
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LivePattern
impl RefUnwindSafe for LivePattern
impl Send for LivePattern
impl Sync for LivePattern
impl Unpin for LivePattern
impl UnsafeUnpin for LivePattern
impl UnwindSafe for LivePattern
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