Trait comfyui_api::comfy::getter::SeedExt

source ·
pub trait SeedExt {
    // Required methods
    fn seed(&self) -> Result<&i64>;
    fn seed_mut(&mut self) -> Result<&mut i64>;
}
Expand description

Trait to get references to values from a Prompt.

Required Methods§

source

fn seed(&self) -> Result<&i64>

Get a reference to the value.

§Returns

A Result containing the reference on success, or an error if the node could not be found.

source

fn seed_mut(&mut self) -> Result<&mut i64>

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.

Implementors§