//!`stable_cascade` definitions/categories.
#![allow(
    unused_imports,
    clippy::too_many_arguments,
    clippy::new_without_default,
    clippy::doc_lazy_continuation
)]
use std::collections::HashMap;
use crate::{
    workflow::{WorkflowNodeId, WorkflowInput},
    nodes::types::Out,
};
///**StableCascade_StageB_Conditioning**: No description.
#[derive(Clone)]
#[allow(non_camel_case_types)]
pub struct StableCascade_StageB_Conditioning<
    ConditioningParam: crate::nodes::types::Conditioning,
    StageCParam: crate::nodes::types::Latent,
> {
    ///No documentation.
    pub conditioning: ConditioningParam,
    ///No documentation.
    pub stage_c: StageCParam,
}
impl<
    ConditioningParam: crate::nodes::types::Conditioning,
    StageCParam: crate::nodes::types::Latent,
> StableCascade_StageB_Conditioning<ConditioningParam, StageCParam> {
    /// Create a new node.
    pub fn new(conditioning: ConditioningParam, stage_c: StageCParam) -> Self {
        Self { conditioning, stage_c }
    }
}
impl<
    ConditioningParam: crate::nodes::types::Conditioning,
    StageCParam: crate::nodes::types::Latent,
> crate::nodes::TypedNode
for StableCascade_StageB_Conditioning<ConditioningParam, StageCParam> {
    type Output = crate::nodes::types::ConditioningOut;
    fn output(&self, node_id: WorkflowNodeId) -> Self::Output {
        Self::Output::from_dynamic(node_id, 0)
    }
    fn inputs(&self) -> HashMap<String, WorkflowInput> {
        let mut output = HashMap::default();
        output.insert("conditioning".to_string(), self.conditioning.clone().into());
        output.insert("stage_c".to_string(), self.stage_c.clone().into());
        output
    }
    const NAME: &'static str = "StableCascade_StageB_Conditioning";
    const DISPLAY_NAME: &'static str = "StableCascade_StageB_Conditioning";
    const DESCRIPTION: &'static str = "";
    const CATEGORY: &'static str = "model/conditioning/stable_cascade";
}
