pub enum TargetKind {
Command,
Path,
Pattern,
Query,
Text,
Other(String),
}Expand description
How a tool’s string target is drawn.
Variants§
Command
A shell line.
Path
A file path.
Pattern
A pattern in quotes.
Query
A query in quotes.
Text
Text.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for TargetKind
impl Clone for TargetKind
Source§impl Debug for TargetKind
impl Debug for TargetKind
Source§impl Display for TargetKind
impl Display for TargetKind
impl Eq for TargetKind
Source§impl From<&str> for TargetKind
impl From<&str> for TargetKind
Source§impl From<String> for TargetKind
impl From<String> for TargetKind
Source§impl Hash for TargetKind
impl Hash for TargetKind
Source§impl PartialEq for TargetKind
impl PartialEq for TargetKind
Source§impl Serialize for TargetKind
impl Serialize for TargetKind
impl StructuralPartialEq for TargetKind
Auto Trait Implementations§
impl Freeze for TargetKind
impl RefUnwindSafe for TargetKind
impl Send for TargetKind
impl Sync for TargetKind
impl Unpin for TargetKind
impl UnsafeUnpin for TargetKind
impl UnwindSafe for TargetKind
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