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