Struct glium::vertex::PerInstance
source · pub struct PerInstance<'a>(_, _);
Expand description
Marker that instructs glium that the buffer is to be used per instance.
Trait Implementations§
source§impl<'a> Into<VerticesSource<'a>> for PerInstance<'a>
impl<'a> Into<VerticesSource<'a>> for PerInstance<'a>
source§fn into(self) -> VerticesSource<'a>
fn into(self) -> VerticesSource<'a>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PerInstance<'a>
impl<'a> !Send for PerInstance<'a>
impl<'a> !Sync for PerInstance<'a>
impl<'a> Unpin for PerInstance<'a>
impl<'a> !UnwindSafe for PerInstance<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> MultiVerticesSource<'a> for Twhere
T: Into<VerticesSource<'a>>,
impl<'a, T> MultiVerticesSource<'a> for Twhere T: Into<VerticesSource<'a>>,
§type Iterator = IntoIter<VerticesSource<'a>>
type Iterator = IntoIter<VerticesSource<'a>>
Iterator that enumerates each source.
source§fn iter(self) -> IntoIter<VerticesSource<'a>>
fn iter(self) -> IntoIter<VerticesSource<'a>>
Iterates over the
VerticesSource
.