pub trait NegativePromptExt {
// Required methods
fn negative_prompt(&self) -> Result<&String>;
fn negative_prompt_mut(&mut self) -> Result<&mut String>;
}Expand description
Trait to get references to values from a Prompt.
Required Methods§
Sourcefn negative_prompt(&self) -> Result<&String>
fn negative_prompt(&self) -> Result<&String>
Get a reference to the value.
§Returns
A Result containing the reference on success, or an error if the node could not be found.
Sourcefn negative_prompt_mut(&mut self) -> Result<&mut String>
fn negative_prompt_mut(&mut self) -> Result<&mut String>
Get a mutable reference to the value.
§Returns
A Result containing the mutable reference on success, or an error if the node could not be found.