core / com.acmerobotics.roadrunner.trajectory / TrajectorySegment / duration

duration

abstract fun duration(): Double

Returns the duration of the segment.