#[non_exhaustive]pub enum LocatorText {
Literal(String),
}Expand description
Text query accepted by Pane::get_by_text.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LocatorText
impl Clone for LocatorText
Source§fn clone(&self) -> LocatorText
fn clone(&self) -> LocatorText
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 moreSource§impl Debug for LocatorText
impl Debug for LocatorText
impl Eq for LocatorText
Source§impl From<&str> for LocatorText
impl From<&str> for LocatorText
Source§impl From<String> for LocatorText
impl From<String> for LocatorText
Source§impl Hash for LocatorText
impl Hash for LocatorText
Source§impl PartialEq for LocatorText
impl PartialEq for LocatorText
Source§fn eq(&self, other: &LocatorText) -> bool
fn eq(&self, other: &LocatorText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocatorText
Auto Trait Implementations§
impl Freeze for LocatorText
impl RefUnwindSafe for LocatorText
impl Send for LocatorText
impl Sync for LocatorText
impl Unpin for LocatorText
impl UnsafeUnpin for LocatorText
impl UnwindSafe for LocatorText
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