pub struct VertexInputAttributeDescription2EXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn location(self, location: u32) -> Self
pub fn binding(self, binding: u32) -> Self
pub fn format(self, format: Format) -> Self
pub fn offset(self, offset: u32) -> Self
sourcepub fn build(self) -> VertexInputAttributeDescription2EXT
pub fn build(self) -> VertexInputAttributeDescription2EXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> Deref for VertexInputAttributeDescription2EXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> RefUnwindSafe for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> !Send for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> !Sync for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> Unpin for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> UnwindSafe for VertexInputAttributeDescription2EXTBuilder<'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