pub enum TransitionPlan {
Transition(Vec<LaserPoint>),
Coalesce,
}Expand description
Describes how to handle the seam between two adjacent frame endpoints.
Returned by TransitionFn to tell the engine what to do at each seam —
including self-loops (A→A) and frame changes (A→B).
Variants§
Transition(Vec<LaserPoint>)
Keep both seam endpoints and insert these points between them. An empty vec keeps both endpoints with nothing in between.
Coalesce
The two seam endpoints are the same logical point — coalesce them so only one copy appears in the output.
Trait Implementations§
Source§impl Clone for TransitionPlan
impl Clone for TransitionPlan
Source§fn clone(&self) -> TransitionPlan
fn clone(&self) -> TransitionPlan
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 moreAuto Trait Implementations§
impl Freeze for TransitionPlan
impl RefUnwindSafe for TransitionPlan
impl Send for TransitionPlan
impl Sync for TransitionPlan
impl Unpin for TransitionPlan
impl UnsafeUnpin for TransitionPlan
impl UnwindSafe for TransitionPlan
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