Struct voodoo::VertexInputAttributeDescription
[−]
[src]
#[repr(C)]pub struct VertexInputAttributeDescription { /* fields omitted */ }
A VkVertexInputAttributeDescription
.
Methods
impl VertexInputAttributeDescription
[src]
pub fn builder() -> VertexInputAttributeDescriptionBuilder
[src]
pub unsafe fn from_raw(
raw: VkVertexInputAttributeDescription
) -> VertexInputAttributeDescription
[src]
raw: VkVertexInputAttributeDescription
) -> VertexInputAttributeDescription
pub fn location<'a>(&'a self) -> u32
[src]
pub fn binding<'a>(&'a self) -> u32
[src]
pub fn format<'a>(&'a self) -> Format
[src]
pub fn offset<'a>(&'a self) -> u32
[src]
pub fn set_location<'m>(&mut self, location: u32)
[src]
pub fn set_binding<'m>(&mut self, binding: u32)
[src]
pub fn set_format<'m>(&mut self, format: Format)
[src]
pub fn set_offset<'m>(&mut self, offset: u32)
[src]
pub fn as_raw(&self) -> &VkVertexInputAttributeDescription
[src]
Trait Implementations
impl Debug for VertexInputAttributeDescription
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for VertexInputAttributeDescription
[src]
fn clone(&self) -> VertexInputAttributeDescription
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for VertexInputAttributeDescription
[src]
fn default() -> VertexInputAttributeDescription
[src]
Returns the "default value" for a type. Read more
impl From<VertexInputAttributeDescription> for VkVertexInputAttributeDescription
[src]
fn from(f: VertexInputAttributeDescription) -> VkVertexInputAttributeDescription
[src]
Performs the conversion.