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