Module prelude

Source
Expand description

Used by all end users.

Re-exports§

pub use crate::animation_clock::AnimationClock;
pub use crate::diff_key::DiffKey;
pub use crate::element::RenderContext;
pub use crate::element::Element;
pub use crate::element::FpRender;
pub use crate::element::IntoElement;
pub use crate::element::Render;
pub use crate::element::RenderKey;
pub use crate::element::RenderOwned;
pub use crate::elements::image::AspectRatio;
pub use crate::elements::image::ImageCover;
pub use crate::elements::image::SamplingMode;
pub use crate::elements::label::Label;
pub use crate::elements::label::TextWidth;
pub use crate::elements::label::label;
pub use crate::elements::paragraph::Paragraph;
pub use crate::elements::paragraph::ParagraphHolder;
pub use crate::elements::paragraph::Span;
pub use crate::elements::paragraph::paragraph;
pub use crate::elements::rect::Rect;
pub use crate::elements::rect::rect;
pub use crate::elements::svg::Svg;
pub use crate::elements::svg::svg;
pub use crate::event_handler::Callback;
pub use crate::event_handler::EventHandler;
pub use crate::layers::Layer;
pub use crate::reactive_context::ReactiveContext;
pub use crate::rendering_ticker::RenderingTicker;
pub use crate::user_event::UserEvent;
pub use crate::accessibility::focus::*;
pub use crate::accessibility::focus_strategy::*;
pub use crate::accessibility::focusable::*;
pub use crate::accessibility::screen_reader::*;
pub use crate::cursor::*;
pub use crate::data::*;
pub use crate::elements::extensions::*;
pub use crate::events::data::*;
pub use crate::events::*;
pub use crate::hooks::use_id::*;
pub use crate::lifecycle::base::*;
pub use crate::lifecycle::context::*;
pub use crate::lifecycle::effect::*;
pub use crate::lifecycle::future_task::*;
pub use crate::lifecycle::memo::*;
pub use crate::lifecycle::reactive::*;
pub use crate::lifecycle::state::*;
pub use crate::lifecycle::task::*;
pub use crate::platform::*;
pub use crate::style::border::*;
pub use crate::style::color::*;
pub use crate::style::corner_radius::*;
pub use crate::style::fill::*;
pub use crate::style::font_slant::*;
pub use crate::style::font_weight::*;
pub use crate::style::font_width::*;
pub use crate::style::gradient::*;
pub use crate::style::scale::*;
pub use crate::style::shadow::*;
pub use crate::style::text_align::*;
pub use crate::style::text_height::*;
pub use crate::style::text_overflow::*;
pub use crate::style::text_shadow::*;

Structs§

AccessibilityId
The stable identity of a [Node], unique within the node’s tree.
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Modifiers
Pressed modifier keys.

Enums§

AccessibilityRole
The type of an accessibility node.
Code
Code is the physical position of a key.
CursorIcon
Describes the appearance of the (usually mouse) cursor icon.
Key
Key represents the meaning of a keypress.