pub fn vertex_data<D, V>(data: D) -> (D, PhantomData<V>)
where
    D: AsRef<[V]>,
    V: VertexFormat,
{
    (data, PhantomData)
}
/// Construct new vertex data from raw data and vertex format
Construct new vertex data from raw data and vertex format
Construct new vertex data from raw data and vertex format
pub fn vertex_data<D, V>(data: D) -> (D, PhantomData<V>)
where
    D: AsRef<[V]>,
    V: VertexFormat,
{
    (data, PhantomData)
}
pub fn vertex_data < D , V > ( data : D ) -> ( D , PhantomData < V > ) where D : AsRef < [ V ] > , V : VertexFormat , { ( data , PhantomData ) }
Construct new vertex data from raw data and vertex format
Construct new vertex data from raw data and vertex format
data
D
data
D