mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Derive Debug
for more things
This commit is contained in:
parent
8ed792bda9
commit
6edc2965a9
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ use crate::data::setbundle::card::{Card, CardIndex};
|
||||||
/// To create a new engine, use [CardSearchEngine::new].
|
/// To create a new engine, use [CardSearchEngine::new].
|
||||||
///
|
///
|
||||||
/// A separate search engine should be created for every locale.
|
/// A separate search engine should be created for every locale.
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct CardSearchEngine {
|
pub struct CardSearchEngine {
|
||||||
/// The index of the search engine.
|
/// The index of the search engine.
|
||||||
index: Index,
|
index: Index,
|
||||||
|
@ -307,6 +308,7 @@ impl CardSearchEngine {
|
||||||
/// Struct containing all retrieved [CardSearchEngine] [Field]s.
|
/// Struct containing all retrieved [CardSearchEngine] [Field]s.
|
||||||
///
|
///
|
||||||
/// This makes it easier to pass them around without having to re-fetch them every time they are used.
|
/// This makes it easier to pass them around without having to re-fetch them every time they are used.
|
||||||
|
#[derive(Debug)]
|
||||||
struct CardSchemaFields {
|
struct CardSchemaFields {
|
||||||
/// [Card::code].
|
/// [Card::code].
|
||||||
pub code: Field,
|
pub code: Field,
|
||||||
|
|
Loading…
Reference in a new issue