Struct ash::vk::AabbPositionsKHRBuilder
source · [−]#[repr(transparent)]pub struct AabbPositionsKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> AabbPositionsKHRBuilder<'a>
impl<'a> AabbPositionsKHRBuilder<'a>
pub fn min_x(self, min_x: f32) -> Self
pub fn min_y(self, min_y: f32) -> Self
pub fn min_z(self, min_z: f32) -> Self
pub fn max_x(self, max_x: f32) -> Self
pub fn max_y(self, max_y: f32) -> Self
pub fn max_z(self, max_z: f32) -> Self
sourcepub fn build(self) -> AabbPositionsKHR
pub fn build(self) -> AabbPositionsKHR
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 AabbPositionsKHRBuilder<'a>
impl<'a> Deref for AabbPositionsKHRBuilder<'a>
type Target = AabbPositionsKHR
type Target = AabbPositionsKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AabbPositionsKHRBuilder<'a>
impl<'a> Send for AabbPositionsKHRBuilder<'a>
impl<'a> Sync for AabbPositionsKHRBuilder<'a>
impl<'a> Unpin for AabbPositionsKHRBuilder<'a>
impl<'a> UnwindSafe for AabbPositionsKHRBuilder<'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