Crate j2ds[][src]

A collection of misc. data structures that aren't available in the standard library

Structs

Clock

An increasing counter that ticks up until a particular count is reached, which then resets itself

ElasticRingBuffer

A FIFO buffer with a fixed length that adjusts to requests that would otherwise overflow or underflow.

RingBuffer

A FIFO buffer with fixed length

Timer

A periodic timer with rising and falling edges

Enums

ElasticPopResult

Indicates what happened when the queue tried to satisfy the request for elements

TimerEvent

Indicates which edge of the timer was just hit

Functions

next_timer_event

Given a list of timers, return the next tick that any of the timers will emit a TimerEvent