Skip to main content

simple_render/
lib.rs

1mod animation;
2mod memory;
3mod ui;
4mod wayland;
5
6pub use animation::{
7    Animation, AnimationFrame, Easing, VisualTransition, VisualTransitionFrame, lerp_color,
8    lerp_f32, lerp_i32, lerp_inset, lerp_spacing, lerp_u32,
9};
10pub use memory::{trim_free_heap_pages, tune_allocator_for_low_memory};
11pub use ui::{
12    Align, Border, BorderWidth, Bounds, Clip, Color, ColorParseError, Content, CornerRadius,
13    Direction, DrawCommand, FontCtx, FontCtxOptions, FontSource, GradientDirection, Hit, Image,
14    ImageFilter, ImageFit, ImagePixels, Inset, LazyFontCtx, Length, MeasuredSize, Overflow, Paint,
15    PaintTransform, Position, Rect, RectLayout, RectStyle, RgbaImageSource, RichText, RoundedClip,
16    Spacing, Style, Surface, Text, TextOverflow, TextRun, TextStyle, TextWrap, Ui,
17};
18pub use wayland::{
19    Anchor, Canvas, DEFAULT_SURFACE_ID, DamageRect, FrameAction, InputAction,
20    KeyboardInteractivity, Layer, LayerOptions, Margins, OutputTarget, PointerAxis,
21    PointerAxisSource, PointerButtonState, PointerEvent, PointerEventKind, RenderCommand,
22    RenderContext, RenderController, RenderOutput, RenderReceiver, RenderSendError, RenderSender,
23    RenderSurfaceState, Renderer, Result, SurfaceId, channel, controller, run, run_surfaces,
24};