Expand description
Re-exports§
pub use winit;
Modules§
- prelude
prelude
Structs§
- Config
- Launch-time configuration for a dioxus-native application.
- Custom
Widget Attr - Device
Handle vello-hybridorvello - A wgpu
Device, it’s associatedQueue, and theAdapterandInstanceused to create them - Dioxus
Document - Integrates
BaseDocumentfromblitz-domwithVirtualDomfromdioxus-core - Dioxus
Native Application - Dioxus
Native Window Renderer - Document
Config - Options used when constructing a
BaseDocument - Features
vello-hybridorvello - Features that are not guaranteed to be supported.
- Font
Context - A font database/cache (wrapper around a Fontique
CollectionandSourceCache). - Limits
vello-hybridorvello - Represents the sets of limits an adapter/device supports.
- Logical
Size - A size represented in logical pixels.
- Node
Handle - Physical
Size - A size represented in physical pixels.
- SubDocument
Attr - Window
Attributes - Attributes used when creating a window.
- Winit
Event Handler Id - The unique identifier of a window event handler. This can be used to later remove the handler.
Enums§
- Dioxus
Native Event - Dioxus-native specific event type
Traits§
Functions§
- build_
single_ font_ ctx - Convenience builder for the one-font case: produces a
FontContextwith system-font discovery disabled and the supplied font registered as the fallback for every generic family. The standard setup for WASM, where browsers don’t expose system fonts. WOFF/WOFF2 inputs are decoded automatically. - launch
- Launch an interactive HTML/CSS renderer driven by the Dioxus virtualdom
- launch_
cfg - launch_
cfg_ with_ props - synthetic_
click_ event - use_
back_ button - Register a handler that runs when the back button is pressed.
- use_
raw_ window_ handle - use_
window - use_
window_ event - Register an event handler that runs when a winit event is processed.