Struct heapless::ring_buffer::Consumer [] [src]

pub struct Consumer<'a, T, A> where
    A: Unsize<[T]>, 
{ /* fields omitted */ }

A ring buffer "consumer"; it can dequeue items from the ring buffer

Methods

impl<'a, T, A> Consumer<'a, T, A> where
    A: Unsize<[T]>, 
[src]

[src]

Returns the item in the front of the queue, or None if the queue is empty

Trait Implementations

impl<'a, T, A> Send for Consumer<'a, T, A> where
    A: Unsize<[T]>,
    T: Send
[src]