Struct pilka_lib::ash::vk::SampleLocationEXTBuilder [−]
#[repr(transparent)]pub struct SampleLocationEXTBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> SampleLocationEXTBuilder<'a>
impl<'a> SampleLocationEXTBuilder<'a>
pub fn x(self, x: f32) -> SampleLocationEXTBuilder<'a>
pub fn y(self, y: f32) -> SampleLocationEXTBuilder<'a>
pub fn build(self) -> SampleLocationEXT
pub fn build(self) -> SampleLocationEXT
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.
Methods from Deref<Target = SampleLocationEXT>
Trait Implementations
impl<'a> Deref for SampleLocationEXTBuilder<'a>
impl<'a> Deref for SampleLocationEXTBuilder<'a>
type Target = SampleLocationEXT
type Target = SampleLocationEXT
The resulting type after dereferencing.
pub fn deref(&self) -> &<SampleLocationEXTBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<SampleLocationEXTBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for SampleLocationEXTBuilder<'a>
impl<'a> DerefMut for SampleLocationEXTBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <SampleLocationEXTBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <SampleLocationEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.