Trait VertexDataSource

Source
pub trait VertexDataSource {
    // Required method
    fn walk_data<C>(&self, visitor: C)
       where C: VertexDataVisitor;
}

Required Methods§

Source

fn walk_data<C>(&self, visitor: C)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, S> VertexDataSource for &'a S

Source§

fn walk_data<C>(&self, visitor: C)

Implementors§

Source§

impl<'a, T> VertexDataSource for &'a VertexBuffer<T>
where T: Vertex + 'a,

Source§

impl<'a, T> VertexDataSource for VertexBufferSlice<'a, T>
where T: Vertex + 'a,

Source§

impl<'a, V, I> VertexDataSource for InstancedVertexDataSource<'a, V, I>
where V: Vertex + 'a, I: Vertex + 'a,