pub enum MineKind {
Sorry,
Admit,
Error,
}Expand description
What a mine run looks for.
Variants§
Sorry
The sorry placeholder term/tactic.
Admit
The admit placeholder tactic.
Error
A compiler error, backed by a tracer diagnostic.
Implementations§
Source§impl MineKind
impl MineKind
Sourcepub const fn placeholder_keyword(self) -> Option<&'static str>
pub const fn placeholder_keyword(self) -> Option<&'static str>
Placeholder keyword for the text-scan kinds, or None for MineKind::Error.
Trait Implementations§
impl Copy for MineKind
Source§impl<'de> Deserialize<'de> for MineKind
impl<'de> Deserialize<'de> for MineKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MineKind
impl StructuralPartialEq for MineKind
Auto Trait Implementations§
impl Freeze for MineKind
impl RefUnwindSafe for MineKind
impl Send for MineKind
impl Sync for MineKind
impl Unpin for MineKind
impl UnsafeUnpin for MineKind
impl UnwindSafe for MineKind
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