Crate pax_runtime_api Copy item path Source pub use pax_value::numeric::Numeric ;
pub use pax_value::CoercionRules ;
pub use pax_value::ImplToFromPaxAny ;
pub use pax_value::PaxValue ;
pub use pax_value::ToPaxValue ;
pub use pax_value::functions ;
pub use properties::Property ;
pub use pax_value::functions::register_function ;
pub use pax_value::functions::Functions ;
pub use pax_value::functions::HelperFunctions ;
pub use paste ;
pub use pax_message::serde ;
constants cursor math pax_value properties refcell_debug reflection serde Serde borrow borrow_mut impl_default_coercion_rule impl_to_from_pax_value use_RefCell AddedLayerArgs AnyCreatePatch ButtonClick ButtonPatch ChassisResizeRequestArgs CheckboxChange CheckboxPatch CheckboxStyleMessage Clap A Clap describes either a “click” (mousedown followed by mouseup), OR a
“tap” with one finger (singular fingerdown event).
Claps are a useful alternative to most kinds of Click
or Tap
events,
when you want the same behavior for both to be contained in one place. ClapInterruptArgs Click User clicks a mouse button over an element. ClickInterruptArgs CommonProperties CommonProperty ContextMenu User right-clicks an element to open the context menu. ContextMenuInterruptArgs DoubleClick User double-clicks a mouse button over an element. DoubleClickInterruptArgs Drop User clicks a mouse button over an element. DropFileArgs DropdownPatch Event EventBlockerPatch Focus FocusInterruptArgs FormButtonClickArgs FormCheckboxToggleArgs FormDropdownChangeArgs FormRadioSetChangeArgs FormSliderChangeArgs FormTextboxChangeArgs FormTextboxInputArgs FramePatch GradientStop ImageDataArgs ImagePatch ImagePointerArgs InterruptBuffer KeyDown User is pressing a key. KeyDownInterruptArgs KeyPress User presses a key that displays a character (alphanumeric or symbol). KeyPressInterruptArgs KeyUp User has released a key. KeyUpInterruptArgs KeyboardEventArgs Common properties in keyboard events. LayerAddPatch LinearGradient LinkStyleMessage LocalFontMessage MessageQueue MouseDown User presses a mouse button over an element. MouseDownInterruptArgs MouseEventArgs Common properties in mouse events. MouseMove User moves the mouse while it is over an element. MouseMoveInterruptArgs MouseOut User moves the mouse away from an element. MouseOutInterruptArgs MouseOver User moves the mouse onto an element. MouseOverInterruptArgs MouseUp User releases a mouse button over an element. MouseUpInterruptArgs NativeImagePatch NativeMessageQueue NavigationPatch OcclusionPatch Percent Raw Percent type, which we use for serialization and dynamic traversal. At the time
of authoring, this type is not used directly at runtime, but is intended for into
coercion
into downstream types, e.g. ColorChannel, Rotation, and Size. This allows us to be “dumb”
about how we parse %
, and allow the context in which it is used to pull forward a specific
type through into
inference. RadialGradient RadioSetPatch Scroll Scroll occurs when a frame is translated vertically or horizontally
Can be both by touch, mouse or keyboard
The contained delta_x
and delta_y
describe the horizontal and vertical translation of
the frame ScrollInterruptArgs ScrollbarInterruptArgs ScrollerPatch SelectStart User is pressing a key. SelectStartArgs SetCursorPatch SliderPatch Stroke SystemFontMessage TextInput TextInputArgs TextPatch TextStyleMessage TextboxChange TextboxInput TextboxPatch Timeline Touch Represents a single touch point. TouchEnd A TouchEnd occurs when the user stops touching an element.
The contained touches
represent a list of touch points. TouchEndInterruptArgs TouchMessage TouchMove A TouchMove occurs when the user moves while touching an element.
The contained touches
represent a list of touch points. TouchMoveInterruptArgs TouchStart A TouchStart occurs when the user touches an element.
The contained touches
represent a list of touch points. TouchStartInterruptArgs Transform2D A sugary representation of an Affine transform+, including
anchor
and align
as layout-computed properties. TransitionManager TransitionQueueEntry Variable Viewport WebFontMessage Wheel User scrolls the mouse wheel over an element. WheelInterruptArgs Window YoutubeVideoPatch Axis Color ColorChannel ColorMessage EasingCurve Fill FontPatch FontStyleMessage FontWeightMessage ImageLoadInterruptArgs Layer ModifierKey ModifierKeyMessage MouseButton MouseButtonMessage NativeInterrupt NativeMessage NavigationTarget OS PathElement Platform Rotation Size A Size value that can be either a concrete pixel value
or a percent of parent bounds. TextAlignHorizontalMessage TextAlignVerticalMessage Interpolatable RenderContext Store Marker trait that needs to be implemented for a struct for insertion and
deletion in a store
NOTE: Stored objects need to be UNIQUE for any given stack. Do not insert
values with types that could potentially be used in another use case,
instead create a local new type (newtype pattern) only used for a single purpose bound