unionstd.fifo.LinearFifoBufferType[src]

Fields

Static: usize

The buffer is internal to the fifo; it is of the specified size.

Slice

The buffer is passed as a slice to the initialiser.

Dynamic

The buffer is managed dynamically using a mem.Allocator.

Source Code

Source code
pub const LinearFifoBufferType = union(enum) {
    /// The buffer is internal to the fifo; it is of the specified size.
    Static: usize,

    /// The buffer is passed as a slice to the initialiser.
    Slice,

    /// The buffer is managed dynamically using a `mem.Allocator`.
    Dynamic,
}