pub struct Blend {
pub from: LayerPose,
pub to: LayerPose,
pub incoming_on_top: bool,
pub mix: bool,
}Expand description
The two layers of one transition frame.
mix crossfades them. Otherwise the back layer is painted, then the
front one, using each pose’s opacity, offset, scale and wipe.
Fields§
§from: LayerPoseThe outgoing scene.
to: LayerPoseThe incoming scene.
incoming_on_top: boolThe incoming layer is painted after the outgoing one.
mix: boolCrossfade instead of painting one layer over the other.
Trait Implementations§
impl Copy for Blend
impl StructuralPartialEq for Blend
Auto Trait Implementations§
impl Freeze for Blend
impl RefUnwindSafe for Blend
impl Send for Blend
impl Sync for Blend
impl Unpin for Blend
impl UnsafeUnpin for Blend
impl UnwindSafe for Blend
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