vc-types 0.1.0

Domain types for Visual Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Adapter kind enumeration.

use serde::{Deserialize, Serialize};

/// Kinds of prompt adapters supported by the compiler.
///
/// This is a compiler-domain type. It represents which adapter
/// was used to render the prompt IR into a model-specific format.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum AdapterKind {
    Sdxl,
    // Flux,
    // Comfy,
    // ...
}