[][src]Module kludgine::prelude

Convenience module that exports the public interface of Kludgine

Re-exports

pub use super::application::Application;
pub use super::application::SingleWindowApplication;
pub use super::color::Color;
pub use super::event::*;
pub use super::include_aseprite_sprite;
pub use super::include_font;
pub use super::include_texture;
pub use super::math::Angle;
pub use super::math::Pixels;
pub use super::math::Point;
pub use super::math::Points;
pub use super::math::Raw;
pub use super::math::Rect;
pub use super::math::Scaled;
pub use super::math::ScreenScale;
pub use super::math::Size;
pub use super::math::Unknown;
pub use super::math::Vector;
pub use super::runtime::Runtime;
pub use super::scene::Scene;
pub use super::scene::SceneTarget;
pub use super::shape::*;
pub use super::sprite::Sprite;
pub use super::sprite::SpriteRotation;
pub use super::style::*;
pub use super::text::font::Font;
pub use super::text::wrap::TextWrap;
pub use super::text::Span;
pub use super::text::Text;
pub use super::texture::Texture;
pub use super::theme::ColorGroup;
pub use super::theme::ElementKind;
pub use super::theme::Intent;
pub use super::theme::Palette;
pub use super::theme::PaletteShade;
pub use super::theme::Theme;
pub use super::theme::VariableColor;
pub use super::tilemap::PersistentMap;
pub use super::tilemap::PersistentTileMap;
pub use super::tilemap::PersistentTileProvider;
pub use super::tilemap::Tile;
pub use super::tilemap::TileMap;
pub use super::tilemap::TileProvider;
pub use super::ui::Entity;
pub use super::ui::Indexable;
pub use super::window::Event;
pub use super::window::EventStatus;
pub use super::window::InputEvent;
pub use super::window::OpenableWindow;
pub use super::window::Window;
pub use super::window::WindowCreator;
pub use super::KludgineError;
pub use super::KludgineResult;
pub use super::RequiresInitialization;
pub use super::text::bundled_fonts;

Macros

lazy_static

Structs

AbsoluteBounds
AbsoluteLayout
AnimationManager
Button
ButtonStyle
Callback
Context
DeviceId

Identifier of an input device.

EntityBuilder
Handle

Reference-counted async RwLock

HierarchicalArena
Image
ImageOptions
Index

An index (and generation) into an Arena.

KeyboardInput

Describes a keyboard input event.

Label
Layout
LayoutConstraints
LayoutContext
Length

A one-dimensional distance, with value represented by T and unit of measurement Unit.

LinearTransition
ModifiersState

Represents the current state of the keyboard modifiers

Scale

A scaling factor between two different units of measurement.

SceneContext
SpriteSource
StyledContext
Surround
Timeout
Touch

Represents a touch event

Enums

ControlEvent
DeviceEvent

Represents raw hardware events that are not associated with any particular window.

Dimension
ElementState

Describes the input state of a key.

Event

Describes a generic event.

Force

Describes the force of a touch event

ImageCommand
ImageScaling
LabelCommand
MouseButton

Describes a button of a mouse controller.

MouseScrollDelta

Describes a difference in the mouse scroll wheel state.

StartCause

Describes the reason the event loop is resuming.

TouchPhase

Describes touch-screen input state.

VirtualKeyCode

Symbolic name for a keyboard key.

WindowEvent

Describes an event from a Window.

Traits

AnimatableComponent
Component
InteractiveComponent
PointExt
SizeExt
StandaloneComponent

Type Definitions

AxisId

Identifier for a specific analog axis on some device.

ButtonId

Identifier for a specific button on some device.

ImageAlphaAnimation
ImageFrameAnimation
ScanCode

Hardware-dependent keyboard scan code.

Attribute Macros

async_trait