Skip to main content

Crate pax_message

Crate pax_message 

Source

Re-exports§

pub use serde;

Modules§

http_api
Shared request and response types for Pax’s public HTTP service.
refcell_debug
reflection

Macros§

borrow
borrow_mut
use_RefCell

Structs§

AccelInterruptArgs
Device acceleration payload, in meters per second squared.
AddedLayerArgs
Chassis acknowledgement that render layers were added.
AnyCreatePatch
Common creation payload shared by native element families.
AppleLiquidGlassPatch
Apple-specific native liquid-glass effect payload.
BrowserConfigInterruptArgs
Browser capability flags discovered by the web chassis.
ButtonPatch
Create/update patch for a native button.
ChassisResizeRequestArgs
Chassis response containing measured native control bounds.
CheckboxPatch
Create/update patch for a native checkbox.
CheckboxStyleMessage
Style payload shared by checkbox-like controls.
ClickInterruptArgs
Click interrupt payload.
ContextMenuInterruptArgs
Context-menu interrupt payload.
DoubleClickInterruptArgs
Double-click interrupt payload.
DropFileArgs
File-drop interrupt payload.
DropdownPatch
Create/update patch for a native dropdown/select element.
EventBlockerPatch
Create/update patch for a native hit-test blocker with an optional solid background.
FocusInterruptArgs
Focus interrupt marker payload.
FormButtonClickArgs
Native button click payload.
FormCheckboxToggleArgs
Checkbox state-change interrupt payload.
FormDropdownChangeArgs
Dropdown selection-change payload.
FormRadioListChangeArgs
Radio-list selection-change payload.
FormSliderChangeArgs
Slider value-change payload.
FormTextboxChangeArgs
Textbox committed-value change payload.
FormTextboxInputArgs
Textbox in-progress input payload.
FramePatch
Create/update patch for a native frame host.
GlassSurfacePatch
Create/update patch for a materialized native liquid-glass surface.
GyroInterruptArgs
Device orientation payload, in degrees.
ImageDataArgs
Image-load payload carrying image metadata without a byte pointer.
ImagePatch
Image-load request sent to the chassis.
ImagePointerArgs
Image-load payload carrying a pointer to chassis-owned image bytes.
InterruptBuffer
Raw FFI buffer containing serialized interrupts.
KeyDownInterruptArgs
Key-down interrupt payload.
KeyPressInterruptArgs
Key-press interrupt payload.
KeyUpInterruptArgs
Key-up interrupt payload.
LayerSurfaceScreenshotData
Completed screenshot bytes for one physical surface within a logical canvas layer.
LinkStyleMessage
Serializable style payload for link text.
LocalFontMessage
Local bundled font payload.
MaskPathPatch
One vector coverage path entry for a native occlusion mask.
MessageQueue
Serializable batch of native messages emitted for one runtime tick.
MouseDownInterruptArgs
Mouse-down interrupt payload.
MouseMoveInterruptArgs
Mouse-move interrupt payload.
MouseOutInterruptArgs
Mouse-out interrupt payload.
MouseOverInterruptArgs
Mouse-over interrupt payload.
MouseUpInterruptArgs
Mouse-up interrupt payload.
NativeImagePatch
Create/update patch for a native image element.
NativeMaskPatch
Create/update patch for a native occlusion mask surface.
NativeMessageQueue
Raw FFI buffer containing serialized native messages.
NavigationPatch
Request for the chassis to navigate to a URL.
PhotoPickerAssetArgs
Selected image metadata and optional copied bytes from a native photo picker.
PhotoPickerInterruptArgs
Native photo picker completion payload.
PhotoPickerPatch
Create/update patch for a transparent native photo picker hit target.
RadioListPatch
Create/update patch for a native radio list.
RenderSurfaceUpdateArgs
Browser notification that a retained render surface must be reconfigured.
RouteChangeInterruptArgs
Canonical route-location payload pushed from chassis state into the runtime.
ScreenshotData
Completed screenshot bytes returned by the chassis.
ScreenshotPatch
Request to capture a screenshot from the chassis.
ScrollInterruptArgs
Location-targeted scroll delta payload.
ScrollerPatch
Create/update patch for a native/browser-owned scroller.
ScrollerPositionInterruptArgs
Native scroller position payload, including optional presentation offsets.
SelectStartArgs
Selection-start interrupt marker payload.
SetCursorPatch
Request for the chassis to update cursor style.
SliderPatch
Create/update patch for a native slider.
SystemFontMessage
System font family payload.
TapInterruptArgs
Single-touch tap payload normalized to window coordinates.
TextInputArgs
Raw text input payload delivered by a native text control.
TextMeasurementResponseArgs
Chassis response to an engine-authored native text measurement request.
TextPatch
Create/update patch for native or browser-managed text.
TextStyleMessage
Serializable text style payload shared with chassis text renderers.
TextboxPatch
Create/update patch for a native textbox.
TouchCancelInterruptArgs
Touch-cancel interrupt payload.
TouchEndInterruptArgs
Touch-end interrupt payload.
TouchMessage
One touch point in a multi-touch interrupt.
TouchMoveInterruptArgs
Touch-move interrupt payload.
TouchStartInterruptArgs
Touch-start interrupt payload.
ViewportResizeArgs
Layout viewport resize payload for the root app surface.
VisualViewportUpdateArgs
Browser visual viewport payload for page-scroll-backed root scrollers.
WebFontMessage
Web font payload, including family and source URL.
WheelInterruptArgs
Wheel interrupt payload.
YoutubeVideoPatch
Create/update patch for an embedded YouTube video.

Enums§

ColorMessage
Serializable color payload for native/chassis messages.
FontPatch
Serializable font selection payload.
FontStyleMessage
Serializable font-style value.
FontWeightMessage
Serializable font-weight value.
ImageLoadInterruptArgs
Image-load response, either by pointer or copied metadata.
ModifierKeyMessage
Normalized keyboard modifier identifier.
MouseButtonMessage
Normalized mouse button identifier.
NativeInterrupt
Events and data packets sent from the chassis back into the Pax runtime.
NativeMessage
Messages emitted by the runtime to create, update, delete, or configure native/chassis resources.
TextAlignHorizontalMessage
Serializable horizontal text alignment.
TextAlignVerticalMessage
Serializable vertical text alignment.