first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
use std::any::Any;
use std::collections::VecDeque;
use std::fmt;
use std::fmt::Debug;
use std::ops::Range;
use std::sync::Arc;
use std::{collections::VecDeque, fmt, fmt::Debug};
pub mod html_parser;
pub mod markdown_parser;
@@ -18,9 +20,9 @@ use weight::CustomWeight;
/// Trait for an "action" that can be dispatched via a hyperlink click handler.
/// This purposefully shadows the `Action` trait from `galaxyui`.
///
/// Since `galaxyui` depends on this crate, we can't depend on the `galaxyui::Action` trait directly.
/// Since `galaxyui` depends on this crate, we can't depend on the `galaxyui_core::Action` trait directly.
/// Instead, we create a new trait with a blanket implementation that implicitly results
/// in any `galaxyui::Action` implementing this `Action`.
/// in any `galaxyui_core::Action` implementing this `Action`.
pub trait Action: Any + Debug + Send + Sync {
fn as_any(&self) -> &dyn Any;
}