use crate::*;
/// Trait for types that can be converted into a `VirtualNode` for use in RSX expressions.
///
/// Implemented by primitive types, strings, and signals to allow seamless
/// embedding in RSX markup.
/// Trait for types that can be converted into a reactive text `VirtualNode`.
///
/// Signals implement this to produce a text node that auto-updates.
/// Trait for converting a value into a `VirtualNode` by consuming it.
///
/// Unlike `AsNode` which borrows `&self`, this trait takes ownership,
/// enabling closures to be wrapped into `DynamicNode` for reactive re-rendering.