inset-embedder 0.19.0

dart:ui host traits and value types for Inset
Documentation
//! Flutter's `dart:ui`: host traits (`Platform`, `View`) and value types
//! (`Offset`, `Color`, `Canvas`, `Paint`, `Shadow`).
//!
//! The framework depends on this crate. This crate does not depend on the
//! framework. Hosts implement [`Platform`] and [`View`], and invoke
//! [`EmbedderClient`] on the client the start closure returns. They do not
//! name `App`.

// A test image carries a wgpu texture, and proving one `Sync` walks a type graph deeper than the
// default limit.
#![recursion_limit = "256"]

mod caption_style;
mod client;
mod clipboard;
mod composition;
mod cue;
mod drag_drop;
mod file_dialogs;
mod fonts;
mod geometry;
mod image;
mod key;
mod locale;
mod media;
mod menus;
mod mouse_cursor;
mod notifications;
mod opener;
mod painting;
mod paragraph;
mod platform;
mod pointer;
mod pointer_data_packet_converter;
mod pointer_report;
mod restoration;
mod scene;
mod system_context_menu;
#[cfg(feature = "test-support")]
pub mod test_support;
mod text;
mod text_editing;
mod text_input;
mod views;
mod vsync;
mod window;

pub use caption_style::{
    CaptionBehavior, CaptionSetting, CaptionSettings, CaptionStyle, CaptionTypeface,
    GenericCaptionFont,
};
pub use client::EmbedderClient;
pub use clipboard::{
    Clipboard, ClipboardError, ClipboardEvent, ClipboardItem, ClipboardItemsFuture,
    ClipboardReadFuture, ClipboardWriteFuture, Content, ContentFuture, CopyOptions, CopyRequest,
    DataTransferItem, FileSink, URI_LIST, WriteFuture,
};
pub use composition::{CompositionLayer, Compositor, HardwareBuffer};
pub use cue::{
    Cue, CueAnchor, CueContent, CueImage, CueLine, CueTextAlignment, CueTextEdge, CueTextRun,
    CueVertical,
};
pub use drag_drop::{DragChange, DragReport, DraggedItems};
pub use file_dialogs::{
    EntryKind, FileDialogError, FileDialogFuture, FileDialogs, FileFinishFuture, FileHandle,
    FileOpenFuture, FileReadFuture, FileSizeFuture, FileStream, FileType, FileWriteFuture,
    FileWriter, FolderEntriesFuture, FolderEntry, FolderHandle, FolderOptions, OpenOptions,
    PickedFile, PickedFolder, SaveOptions,
};
pub use fonts::{
    FontCollection, FontDemand, FontId, FontManager, FontSource, SystemFontSource, Typeface,
    default_font_families, set_default_font_manager,
};
pub use geometry::*;
pub use image::{
    ImageCodec, ImageCodecFuture, ImageDecodeError, ImageFrame, ImageFrameFuture, ImageRepetition,
};
pub use key::{KeyData, KeyEventDeviceType, KeyEventType};
pub use locale::Locale;
pub use media::{
    Camera, CameraDevice, CameraError, CameraFacing, CameraFormat, CameraId, CameraInterruption,
    CameraListFuture, CameraOpenFuture, CameraOutputs, CameraStartFuture, Cameras, CaptureSession,
    CaptureState, EncodedImage, MediaChangeFuture, MediaError, MediaMetadata, MediaPlayer,
    MediaTrack, MediaTrackKind, MovieOptions, PauseReason, Photo, PhotoFuture, PlayerActivity,
    PlayerError, PlayerErrorKind, PlayerState, PlayerStatus, Players, RecordingFuture,
    SeekTolerance, TimeRange, VideoFrame, VideoFrameReader, VideoFrameReaders, VideoOutput,
    WaitReason,
};
pub use menus::{
    AttachedMenu, CheckState, DockMenu, EditCommand, IconImage, MenuAtIcon, MenuBar, MenuEntry,
    MenuId, MenuItem, MenuItemCheck, MenuShortcut, PopupMenuFuture, PopupMenus, ProvidedItem,
    ShortcutModifiers, TrayIcon, TrayIconError, TrayIconEvent, TrayIconFuture, TrayIconId,
    TrayIcons,
};
pub use mouse_cursor::SystemMouseCursorKind;
pub use notifications::{
    Notification, NotificationAction, NotificationActivation, NotificationError,
    NotificationPermission, NotificationReplies, NotificationScheduling, Notifications,
    PermissionFuture, PermissionState, PostFuture,
};
pub use opener::{OpenError, OpenFuture, OpenRequest, Opener, file_uri_path};
pub use painting::*;
pub use paragraph::*;
pub use platform::{
    AppExit, AppExitReply, AppExitResponse, AppExitType, AppLifecycleState,
    ApplicationSwitcherDescription, Brightness, Dispatcher, Frame, HapticFeedbackType, Haptics,
    InertDispatcher, InertPlatform, Platform, PlatformRef, Restoration, Screen, ScreenId, Screens,
    SystemChrome, SystemContextMenu, SystemUiOverlayStyle, TargetPlatform, TextServices, ViewRef,
};
pub use pointer::{
    PointerChange, PointerData, PointerDataPacket, PointerDeviceKind, PointerSignalKind,
};
pub use pointer_data_packet_converter::PointerDataPacketConverter;
pub use pointer_report::{Contact, PointerReport, ReportedChange};
pub use restoration::{RestorationData, RestorationMap, RestorationUpdate};
pub use scene::{
    ContainerLayer, DisplayListLayer, Effect, EmbeddedLayer, EngineLayer, Layer, Mutator, Part,
    Placement, Scene, SceneBuilder, Slices, VideoLayer, slices,
};
pub use system_context_menu::SystemContextMenuItem;
pub use text::*;
pub use text_editing::*;
pub use text_input::*;
pub use views::{
    GestureSettings, TextInputHost, View, ViewConstraints, ViewEmbedder, ViewFocusDirection,
    ViewFocusEvent, ViewFocusState, ViewHost, ViewId, ViewMetrics, ViewPadding,
};
pub use vsync::{VsyncObserver, VsyncWaiter};
pub use web_time::Instant;
pub use window::{
    HostWindow, RawWindowHandle, RequestId, ViewError, WindowBackground, WindowConfig, WindowLevel,
    WindowRef,
};