Riven/src/consts/mod.rs

51 lines
866 B
Rust
Raw Permalink Normal View History

//! 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)]
2019-10-26 05:19:00 +00:00
mod macro_serde_string;
2019-10-23 07:49:02 +00:00
mod champion;
2019-10-21 02:28:29 +00:00
pub use champion::*;
2019-10-23 07:49:02 +00:00
mod division;
pub use division::*;
2019-10-26 02:41:41 +00:00
mod game_mode;
pub use game_mode::*;
mod game_type;
pub use game_type::*;
2019-10-26 02:52:43 +00:00
mod map;
pub use map::*;
mod queue_type;
pub use queue_type::*;
2019-10-23 08:20:34 +00:00
mod queue;
2019-10-25 19:30:03 +00:00
pub use queue::*;
pub mod ranks;
mod region;
pub use region::*;
mod season;
pub use season::*;
2019-10-25 19:44:45 +00:00
/// Trait allowing iteration of enum types, implemented by several enums in this module.
/// Re-exported from strum.
///
///
pub use strum::IntoEnumIterator;
2019-10-25 19:30:03 +00:00
mod team;
2019-10-25 19:44:45 +00:00
pub use team::*;
2019-10-26 02:24:08 +00:00
mod tier;
pub use tier::*;