pub enum ImageOperation {
TextToImage,
ImageToImage,
Inpaint,
Outpaint,
VaeEncode,
VaeDecode,
}Expand description
Whole-image operation selected by an exact execution plan.
Variants§
TextToImage
Text conditioning to a new image.
ImageToImage
Source image plus conditioning to a new image.
Inpaint
Masked replacement inside a source image.
Outpaint
Expanded canvas plus mask completion.
VaeEncode
Image bytes to an exact backend latent representation.
VaeDecode
Exact backend latent representation to image bytes.
Trait Implementations§
Source§impl Clone for ImageOperation
impl Clone for ImageOperation
impl Copy for ImageOperation
Source§impl Debug for ImageOperation
impl Debug for ImageOperation
Source§impl<'de> Deserialize<'de> for ImageOperation
impl<'de> Deserialize<'de> for ImageOperation
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 ImageOperation
Source§impl PartialEq for ImageOperation
impl PartialEq for ImageOperation
Source§impl Serialize for ImageOperation
impl Serialize for ImageOperation
impl StructuralPartialEq for ImageOperation
Auto Trait Implementations§
impl Freeze for ImageOperation
impl RefUnwindSafe for ImageOperation
impl Send for ImageOperation
impl Sync for ImageOperation
impl Unpin for ImageOperation
impl UnsafeUnpin for ImageOperation
impl UnwindSafe for ImageOperation
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