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