Struct voodoo::XYColorExt
[−]
[src]
#[repr(C)]pub struct XYColorExt { /* fields omitted */ }
A VkXYColorEXT
.
Chromaticity coordinate
Methods
impl XYColorExt
[src]
pub fn builder() -> XYColorExtBuilder
[src]
pub unsafe fn from_raw(raw: VkXYColorEXT) -> XYColorExt
[src]
pub fn x<'a>(&'a self) -> f32
[src]
pub fn y<'a>(&'a self) -> f32
[src]
pub fn set_x<'m>(&mut self, x: f32)
[src]
pub fn set_y<'m>(&mut self, y: f32)
[src]
pub fn as_raw(&self) -> &VkXYColorEXT
[src]
Trait Implementations
impl Debug for XYColorExt
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for XYColorExt
[src]
fn clone(&self) -> XYColorExt
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for XYColorExt
[src]
fn default() -> XYColorExt
[src]
Returns the "default value" for a type. Read more
impl From<XYColorExt> for VkXYColorEXT
[src]
fn from(f: XYColorExt) -> VkXYColorEXT
[src]
Performs the conversion.