#[repr(transparent)]pub struct XYColorEXTBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> XYColorEXTBuilder<'a>
impl<'a> XYColorEXTBuilder<'a>
pub fn x(self, x: f32) -> XYColorEXTBuilder<'a>
pub fn y(self, y: f32) -> XYColorEXTBuilder<'a>
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.
sourcefn deref(&self) -> &<XYColorEXTBuilder<'a> as Deref>::Target
fn deref(&self) -> &<XYColorEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for XYColorEXTBuilder<'a>
impl<'a> DerefMut for XYColorEXTBuilder<'a>
sourcefn deref_mut(&mut self) -> &mut <XYColorEXTBuilder<'a> as Deref>::Target
fn deref_mut(&mut self) -> &mut <XYColorEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more