[−][src]Struct grr::VertexAttributeDesc
Vertex attribute format and binding.
Fields
location: u32
Shader binding location of the attribute.
binding: u32
Vertex buffer binding number which is the data source.
format: VertexFormat
Size and type of the vertex data.
offset: u32
Byte offset of this attribute relative to the start of an element in the vertex binding.
Trait Implementations
impl Clone for VertexAttributeDesc
[src]
fn clone(&self) -> VertexAttributeDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VertexAttributeDesc
[src]
impl Eq for VertexAttributeDesc
[src]
impl PartialEq<VertexAttributeDesc> for VertexAttributeDesc
[src]
fn eq(&self, other: &VertexAttributeDesc) -> bool
[src]
fn ne(&self, other: &VertexAttributeDesc) -> bool
[src]
impl StructuralEq for VertexAttributeDesc
[src]
impl StructuralPartialEq for VertexAttributeDesc
[src]
Auto Trait Implementations
impl RefUnwindSafe for VertexAttributeDesc
impl Send for VertexAttributeDesc
impl Sync for VertexAttributeDesc
impl Unpin for VertexAttributeDesc
impl UnwindSafe for VertexAttributeDesc
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<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>,