pub struct XYColorEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'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§
Source§impl<'a> Deref for XYColorEXTBuilder<'a>
impl<'a> Deref for XYColorEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for XYColorEXTBuilder<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more