rust_widgets 0.9.6

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 60+ widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
//! Rendering backends: software surface, paint, batch, and scene.
pub(crate) mod batch;
pub(crate) mod paint;
pub(crate) mod scene;
pub(crate) mod surface;

#[allow(unused_imports)]
pub use batch::{BatchCommand, BatchError, BatchId, BatchRenderer};
pub use paint::{PaintBackend, SoftwarePaintBackend};

#[cfg(feature = "quality-management")]
pub use scene::{average_frame_time, current_fps, current_quality_level, set_quality_level};
pub use scene::{last_auto_render_backend, AutoRenderBackend, RenderScene, SceneLayer};
pub use surface::{
    default_software_render_config, set_default_software_render_config, BackBuffer, RenderContext,
    SoftwareRenderConfig, SoftwareSurface,
};

#[cfg(all(test, feature = "desktop"))]
pub(crate) use surface::software_render_config_test_lock;