pub enum LocatorMethod {
CssSelector(&'static str),
TextStartsWith {
needle: &'static str,
target_container: TargetContainer,
},
}Variants§
Implementations§
Source§impl LocatorMethod
impl LocatorMethod
pub fn target_container(&self) -> TargetContainer
Trait Implementations§
Source§impl Clone for LocatorMethod
impl Clone for LocatorMethod
Source§fn clone(&self) -> LocatorMethod
fn clone(&self) -> LocatorMethod
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 moreSource§impl Debug for LocatorMethod
impl Debug for LocatorMethod
Auto Trait Implementations§
impl Freeze for LocatorMethod
impl RefUnwindSafe for LocatorMethod
impl Send for LocatorMethod
impl Sync for LocatorMethod
impl Unpin for LocatorMethod
impl UnwindSafe for LocatorMethod
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