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