pub enum TransitionMode {
Smooth,
Cut,
Fade,
}Expand description
How the boundary between the previous stage and this stage is rendered.
Smooth: the engine honors the motion-tail latent carryover from the prior clip (v1 default behaviour). Produces a visual morph when the prompt changes.Cut: fresh latent, no carryover. If the stage has asource_imagethe engine uses it as the i2v seed; otherwise pure t2v.Fade: same engine path asCut, plus a post-stitch alpha blend of the lastfade_framesof the prior clip with the firstfade_framesof this clip.
Stage 0’s transition is meaningless (nothing to transition from) and is
coerced to Smooth during ChainRequest::normalise.
Variants§
Trait Implementations§
Source§impl Clone for TransitionMode
impl Clone for TransitionMode
Source§fn clone(&self) -> TransitionMode
fn clone(&self) -> TransitionMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for TransitionMode
impl ComposeSchema for TransitionMode
Source§impl Debug for TransitionMode
impl Debug for TransitionMode
Source§impl Default for TransitionMode
impl Default for TransitionMode
Source§fn default() -> TransitionMode
fn default() -> TransitionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransitionMode
impl<'de> Deserialize<'de> for TransitionMode
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
Source§impl PartialEq for TransitionMode
impl PartialEq for TransitionMode
Source§fn eq(&self, other: &TransitionMode) -> bool
fn eq(&self, other: &TransitionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransitionMode
impl Serialize for TransitionMode
Source§impl ToSchema for TransitionMode
impl ToSchema for TransitionMode
impl Copy for TransitionMode
impl Eq for TransitionMode
impl StructuralPartialEq for TransitionMode
Auto Trait Implementations§
impl Freeze for TransitionMode
impl RefUnwindSafe for TransitionMode
impl Send for TransitionMode
impl Sync for TransitionMode
impl Unpin for TransitionMode
impl UnsafeUnpin for TransitionMode
impl UnwindSafe for TransitionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.