egui/emigui/src/lib.rs

63 lines
1.2 KiB
Rust
Raw Normal View History

2018-12-30 20:08:29 +00:00
#![deny(warnings)]
#![warn(
clippy::all,
clippy::dbg_macro,
clippy::doc_markdown,
clippy::empty_enum,
clippy::enum_glob_use,
clippy::filter_map_next,
clippy::fn_params_excessive_bools,
clippy::imprecise_flops,
clippy::lossy_float_literal,
clippy::mem_forget,
clippy::needless_borrow,
clippy::needless_continue,
clippy::pub_enum_variant_names,
clippy::rest_pat_in_fully_bound_structs,
// clippy::suboptimal_flops, // TODO
clippy::todo,
// clippy::use_self,
future_incompatible,
nonstandard_style,
rust_2018_idioms,
)]
2018-12-30 20:08:29 +00:00
2019-04-25 16:07:36 +00:00
pub mod color;
pub mod containers;
mod context;
2020-04-12 10:07:51 +00:00
pub mod example_app;
2019-01-04 13:14:32 +00:00
mod font;
2019-01-12 23:55:56 +00:00
mod fonts;
2020-04-17 21:44:14 +00:00
mod id;
2020-05-03 11:28:47 +00:00
mod input;
mod layers;
2018-12-30 20:08:29 +00:00
mod layout;
pub mod math;
2020-04-17 13:29:48 +00:00
mod memory;
2019-03-12 08:59:43 +00:00
pub mod mesher;
2020-05-03 11:28:47 +00:00
mod movement_tracker;
2020-04-17 13:29:48 +00:00
mod region;
2018-12-30 20:08:29 +00:00
mod style;
mod texture_atlas;
2019-11-24 19:45:45 +00:00
mod types;
pub mod widgets;
2018-12-30 20:08:29 +00:00
2020-04-11 16:18:52 +00:00
pub use {
2019-04-25 16:07:36 +00:00
color::Color,
2020-04-23 17:15:17 +00:00
context::Context,
2019-12-02 19:08:49 +00:00
fonts::{FontDefinitions, Fonts, TextStyle},
2020-04-17 21:44:14 +00:00
id::Id,
2020-05-03 11:28:47 +00:00
input::*,
layers::*,
layout::{Align, GuiResponse},
2019-11-24 19:45:45 +00:00
math::*,
2020-04-17 13:29:48 +00:00
memory::Memory,
2020-04-20 21:33:16 +00:00
mesher::{Mesh, PaintBatches, Vertex},
2020-05-03 11:28:47 +00:00
movement_tracker::MovementTracker,
2020-04-17 13:29:48 +00:00
region::Region,
2019-01-04 13:14:32 +00:00
style::Style,
2019-01-16 23:09:12 +00:00
texture_atlas::Texture,
2019-11-24 19:45:45 +00:00
types::*,
2020-04-29 19:25:49 +00:00
widgets::Widget,
2018-12-30 20:08:29 +00:00
};