pub struct ComfyProgress {
pub current_step: u32,
pub total_steps: u32,
pub node_id: Option<String>,
pub prompt_id: String,
}Expand description
Richer progress type with node and prompt context.
Fields§
§current_step: u32Current sampling step.
total_steps: u32Total sampling steps.
node_id: Option<String>The node currently executing, if known.
prompt_id: StringThe prompt this progress belongs to.
Trait Implementations§
Source§impl Clone for ComfyProgress
impl Clone for ComfyProgress
Source§fn clone(&self) -> ComfyProgress
fn clone(&self) -> ComfyProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComfyProgress
impl RefUnwindSafe for ComfyProgress
impl Send for ComfyProgress
impl Sync for ComfyProgress
impl Unpin for ComfyProgress
impl UnsafeUnpin for ComfyProgress
impl UnwindSafe for ComfyProgress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more