Struct honeytree_calc::htree::result::TrainerData[][src]

pub struct TrainerData { /* fields omitted */ }
Expand description

Struct that holds the trainer’s ID and SID.

Implementations

Initializes a new TrainerData struct with the trainer ID and secret ID.

Calculates the honey trees for a TrainerData.

Examples

use honeytree_calc::htree::result::TrainerData;
let my_data = TrainerData::new(12345, 54321);
my_data.get_honey_trees().into_iter().for_each(|tree| println!("{}", tree.location));

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.