Trait comfyui_api::comfy::getter::DenoiseExt
source · pub trait DenoiseExt {
// Required methods
fn denoise(&self) -> Result<&f32>;
fn denoise_mut(&mut self) -> Result<&mut f32>;
}
Expand description
Trait to get references to values from a Prompt
.
Required Methods§
sourcefn denoise(&self) -> Result<&f32>
fn denoise(&self) -> Result<&f32>
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 denoise_mut(&mut self) -> Result<&mut f32>
fn denoise_mut(&mut self) -> Result<&mut f32>
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.