pub struct VertexInputAttributeDescription2EXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn location( self, location: u32 ) -> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn binding( self, binding: u32 ) -> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn format( self, format: Format ) -> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn offset( self, offset: u32 ) -> VertexInputAttributeDescription2EXTBuilder<'a>
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>
§type Target = VertexInputAttributeDescription2EXT
type Target = VertexInputAttributeDescription2EXT
The resulting type after dereferencing.
source§impl<'a> DerefMut for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> DerefMut for VertexInputAttributeDescription2EXTBuilder<'a>
Auto Trait Implementations§
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