Expand description
Foundation elements for Cranpose: modifiers, input, and core functionality
Re-exports§
pub use gesture_constants::DRAG_THRESHOLD;pub use gesture_constants::MAX_FLING_VELOCITY;pub use velocity_tracker::VelocityTracker1D;pub use nodes::input::PointerButton;pub use nodes::input::PointerButtons;pub use nodes::input::PointerEvent;pub use nodes::input::PointerEventKind;pub use nodes::input::PointerId;pub use nodes::input::PointerPhase;pub use measurement_proxy::*;pub use modifier::*;pub use modifier_helpers::*;
Modules§
- gesture_
constants - Shared gesture constants for consistent touch/pointer handling.
- lazy
- Lazy layout system for Cranpose.
- measurement_
proxy - Public measurement proxy API for layout modifier nodes.
- modifier
- Modifier node scaffolding for Cranpose.
- modifier_
helpers - Helper macros to reduce boilerplate when implementing modifier nodes.
- nodes
- prelude
- text
- Text input module for editable text fields.
- velocity_
tracker - Velocity tracking for fling gesture support.
Macros§
- impl_
draw_ node - Implements the as_draw_node methods for a type that implements DrawModifierNode.
- impl_
focus_ node - Implements the as_focus_node methods for a type that implements FocusNode.
- impl_
modifier_ node - Comprehensive macro that implements all capability-based methods for a modifier node.
- impl_
pointer_ input_ node - Implements the as_pointer_input_node methods for a type that implements PointerInputNode.
- impl_
semantics_ node - Implements the as_semantics_node methods for a type that implements SemanticsNode.