Struct hedge::kernel::ElementBuffer[][src]

pub struct ElementBuffer<D: ElementData + Default> {
    pub free_cells: Vec<Index<MeshElement<D>>>,
    pub buffer: Vec<MeshElement<D>>,
}
Expand description

A pretty simple wrapper over a pair of ’Vec’s.

Fields

free_cells: Vec<Index<MeshElement<D>>>buffer: Vec<MeshElement<D>>

Implementations

Returns the number of currently active cells. The actual number of items allocated by the buffer might be different.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.