pub enum ImageBufferRole {
PositiveConditioning,
NegativeConditioning,
SourceImage,
ReferenceImage,
Mask,
Lora,
Checkpoint,
TensorSnapshot,
}Expand description
Logical role of an exact execution buffer.
Variants§
PositiveConditioning
Positive prompt bytes or encoded conditioning.
NegativeConditioning
Negative prompt bytes or encoded conditioning.
SourceImage
Image-to-image, inpaint, outpaint, or VAE source image.
ReferenceImage
Additional independently sized reference image.
Mask
Spatial mask.
Lora
Compatible LoRA artifact bytes.
Checkpoint
Opaque authenticated checkpoint bytes.
TensorSnapshot
Explicit typed tensor bytes.
Trait Implementations§
Source§impl Clone for ImageBufferRole
impl Clone for ImageBufferRole
impl Copy for ImageBufferRole
Source§impl Debug for ImageBufferRole
impl Debug for ImageBufferRole
Source§impl<'de> Deserialize<'de> for ImageBufferRole
impl<'de> Deserialize<'de> for ImageBufferRole
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
impl Eq for ImageBufferRole
Source§impl PartialEq for ImageBufferRole
impl PartialEq for ImageBufferRole
Source§impl Serialize for ImageBufferRole
impl Serialize for ImageBufferRole
impl StructuralPartialEq for ImageBufferRole
Auto Trait Implementations§
impl Freeze for ImageBufferRole
impl RefUnwindSafe for ImageBufferRole
impl Send for ImageBufferRole
impl Sync for ImageBufferRole
impl Unpin for ImageBufferRole
impl UnsafeUnpin for ImageBufferRole
impl UnwindSafe for ImageBufferRole
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