Struct comfyui_api::models::prompt::KSampler   
source · pub struct KSampler {
    pub cfg: Input<f32>,
    pub denoise: Input<f32>,
    pub sampler_name: Input<String>,
    pub scheduler: Input<String>,
    pub seed: Input<i64>,
    pub steps: Input<u32>,
    pub positive: NodeConnection,
    pub negative: NodeConnection,
    pub model: NodeConnection,
    pub latent_image: NodeConnection,
}Expand description
Struct representing a KSampler node.
Fields§
§cfg: Input<f32>The cfg scale parameter.
denoise: Input<f32>The denoise parameter.
sampler_name: Input<String>The sampler name.
scheduler: Input<String>The scheduler used.
seed: Input<i64>The seed.
steps: Input<u32>The number of steps.
positive: NodeConnectionThe positive conditioning input connection.
negative: NodeConnectionThe negative conditioning input connection.
model: NodeConnectionThe model input connection.
latent_image: NodeConnectionThe latent image input connection.
Trait Implementations§
source§impl<'de> Deserialize<'de> for KSampler
 
impl<'de> Deserialize<'de> for KSampler
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KSampler
impl RefUnwindSafe for KSampler
impl Send for KSampler
impl Sync for KSampler
impl Unpin for KSampler
impl UnwindSafe for KSampler
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