fn kind(&self) -> &str {
        match self {
            Self::Move { .. } => Self::MOVE,
            Self::Torpedo { .. } => Self::TORPEDO,
            Self::Surface { .. } => Self::SURFACE,
            Self::Sonar { .. } => Self::SONAR,
            Self::Silence { .. } => Self::SILENCE,
        }
    }
// the action's type, but type's a reserved keyword
the action's type, but type's a reserved keyword
the action ' s type but type ' s a reserved keyword
fn kind(&self) -> &str {
        match self {
            Self::Move { .. } => Self::MOVE,
            Self::Torpedo { .. } => Self::TORPEDO,
            Self::Surface { .. } => Self::SURFACE,
            Self::Sonar { .. } => Self::SONAR,
            Self::Silence { .. } => Self::SILENCE,
        }
    }
fn kind ( & self ) -> & str { match self { Self :: Move { .. } => Self :: MOVE , Self :: Torpedo { .. } => Self :: TORPEDO , Self :: Surface { .. } => Self :: SURFACE , Self :: Sonar { .. } => Self :: SONAR , Self :: Silence { .. } => Self :: SILENCE , } }
the action's type, but type's a reserved keyword
the action ' s type but type ' s a reserved keyword
&self
&self