Trait comfyui_api::comfy::setter::SetExt
source · 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§
Object Safety§
This trait is not object safe.