Struct ash::vk::VertexInputAttributeDescription2EXTBuilder
source · [−]#[repr(transparent)]pub struct VertexInputAttributeDescription2EXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for VertexInputAttributeDescription2EXTBuilder<'a>
impl<'a> Deref for VertexInputAttributeDescription2EXTBuilder<'a>
type Target = VertexInputAttributeDescription2EXT
type Target = VertexInputAttributeDescription2EXT
The resulting type after dereferencing.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more