Start

data object Start : Frame<Nothing> (source)

Functions

Link copied to clipboard
operator fun <T : Comparable<T>> Frame<T>.compareTo(other: Frame<T>): Int
Link copied to clipboard
fun <T, R> Frame<T>.map(transform: (T) -> R): Frame<R>
Link copied to clipboard
fun <T, R : T> Frame<R>.toState(start: T = when { sceneScope.states.isNotEmpty() -> sceneScope.states.first() else -> error("implicit conversion to state requires non-empty states") }, end: T = when { sceneScope.states.isNotEmpty() -> sceneScope.states.last() else -> error("implicit conversion to state requires non-empty states") }): T

fun <T> Frame<T>.toState(start: T, end: T): T

Converts the Frame of type T to just a value of type T; where start is the default representation for Frame.Start, and end is the default representation for Frame.End.

Link copied to clipboard
open override fun toString(): String