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));