pub trait SetExt<N>where
N: Node + 'static,{
// Required methods
fn set_with<F>(&mut self, f: F) -> Result<()>
where F: FnOnce(&mut N) -> Result<()>;
fn set_node_with<F>(&mut self, node: &str, f: F) -> Result<()>
where F: FnOnce(&mut N) -> Result<()>;
}Expand description
Extension methods for Prompt to set values on nodes.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.