[−][src]Enum glium::vertex::VerticesSource
Describes the source to use for the vertices when drawing.
Variants
VertexBuffer(BufferAnySlice<'a>, &'a VertexFormat, bool)
A buffer uploaded in the video memory.
The second parameter is the number of vertices in the buffer.
The third parameter tells whether or not this buffer is "per instance" (true) or "per vertex" (false).
A marker indicating a "phantom list of attributes".
Fields of Marker
Trait Implementations
impl<'a> Clone for VerticesSource<'a>
[src]
fn clone(&self) -> VerticesSource<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T> Into<VerticesSource<'a>> for &'a VertexBuffer<T> where
T: Copy,
[src]
T: Copy,
fn into(self) -> VerticesSource<'a>
[src]
impl<'a, T> Into<VerticesSource<'a>> for VertexBufferSlice<'a, T> where
T: Copy,
[src]
T: Copy,
fn into(self) -> VerticesSource<'a>
[src]
impl<'a> Into<VerticesSource<'a>> for &'a VertexBufferAny
[src]
fn into(self) -> VerticesSource<'a>
[src]
impl<'a> Into<VerticesSource<'a>> for EmptyVertexAttributes
[src]
fn into(self) -> VerticesSource<'a>
[src]
impl<'a> Into<VerticesSource<'a>> for EmptyInstanceAttributes
[src]
fn into(self) -> VerticesSource<'a>
[src]
impl<'a> Into<VerticesSource<'a>> for PerInstance<'a>
[src]
fn into(self) -> VerticesSource<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for VerticesSource<'a>
impl<'a> !Send for VerticesSource<'a>
impl<'a> !Sync for VerticesSource<'a>
impl<'a> Unpin for VerticesSource<'a>
impl<'a> !UnwindSafe for VerticesSource<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> MultiVerticesSource<'a> for T where
T: Into<VerticesSource<'a>>,
[src]
T: Into<VerticesSource<'a>>,
type Iterator = IntoIter<VerticesSource<'a>>
Iterator that enumerates each source.
fn iter(Self) -> IntoIter<VerticesSource<'a>>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,