Struct solstice::mesh::MappedVertexMesh [−][src]
pub struct MappedVertexMesh<V> { /* fields omitted */ }
Implementations
impl<V> MappedVertexMesh<V> where
V: Vertex,
[src]
impl<V> MappedVertexMesh<V> where
V: Vertex,
[src]pub fn new(ctx: &mut Context, size: usize) -> Result<Self, GraphicsError>
[src]
pub fn set_vertices(&mut self, vertices: &[V], offset: usize)
[src]
pub fn get_vertices(&self) -> &[V]
[src]
pub fn unmap(&mut self, ctx: &mut Context) -> &VertexMesh<V>
[src]
pub fn inner(&self) -> &VertexMesh<V>
[src]
Trait Implementations
impl<V: Debug> Debug for MappedVertexMesh<V>
[src]
impl<V: Debug> Debug for MappedVertexMesh<V>
[src]impl<V: PartialEq> PartialEq<MappedVertexMesh<V>> for MappedVertexMesh<V>
[src]
impl<V: PartialEq> PartialEq<MappedVertexMesh<V>> for MappedVertexMesh<V>
[src]fn eq(&self, other: &MappedVertexMesh<V>) -> bool
[src]
fn eq(&self, other: &MappedVertexMesh<V>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MappedVertexMesh<V>) -> bool
[src]
fn ne(&self, other: &MappedVertexMesh<V>) -> bool
[src]This method tests for !=
.
impl<V> StructuralPartialEq for MappedVertexMesh<V>
[src]
Auto Trait Implementations
impl<V> RefUnwindSafe for MappedVertexMesh<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<V> Send for MappedVertexMesh<V> where
V: Send,
V: Send,
impl<V> Sync for MappedVertexMesh<V> where
V: Sync,
V: Sync,
impl<V> Unpin for MappedVertexMesh<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for MappedVertexMesh<V> where
V: UnwindSafe,
V: UnwindSafe,