2021-06-30 16:34:34 -07:00
|
|
|
//! Constant data and Enums used with the Riot Games API.
|
|
|
|
//!
|
|
|
|
//! This module uses SCREAMING_SNAKE_CASE for enum variants, as enums in this
|
|
|
|
//! crate should be considered collections of constants.
|
|
|
|
|
|
|
|
#![allow(deprecated)]
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
2021-06-30 18:50:08 -07:00
|
|
|
mod macros;
|
2021-06-30 16:34:34 -07:00
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod champion;
|
|
|
|
pub use champion::*;
|
|
|
|
|
|
|
|
mod division;
|
|
|
|
pub use division::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod game_mode;
|
|
|
|
pub use game_mode::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod game_type;
|
|
|
|
pub use game_type::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod map;
|
|
|
|
pub use map::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod queue_type;
|
|
|
|
pub use queue_type::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod queue;
|
|
|
|
pub use queue::*;
|
|
|
|
|
|
|
|
pub mod ranks;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod route;
|
|
|
|
pub use route::*;
|
|
|
|
|
2023-01-07 20:07:35 -08:00
|
|
|
mod route_ext;
|
|
|
|
pub use route_ext::*;
|
|
|
|
|
2023-05-10 11:58:24 -07:00
|
|
|
#[rustfmt::skip]
|
2021-06-30 16:34:34 -07:00
|
|
|
mod season;
|
|
|
|
pub use season::*;
|
|
|
|
|
|
|
|
/// Trait allowing iteration of enum types, implemented by several enums in this module.
|
|
|
|
/// Re-exported from strum.
|
|
|
|
///
|
|
|
|
///
|
|
|
|
pub use strum::IntoEnumIterator;
|
|
|
|
|
|
|
|
mod team;
|
|
|
|
pub use team::*;
|
|
|
|
|
|
|
|
mod tier;
|
|
|
|
pub use tier::*;
|