Struct imgui_sys::ImVec4 [] [src]

pub struct ImVec4 {
    pub x: c_float,
    pub y: c_float,
    pub z: c_float,
    pub w: c_float,


x: c_float y: c_float z: c_float w: c_float


impl ImVec4

fn new(x: f32, y: f32, z: f32, w: f32) -> ImVec4

Trait Implementations

impl Default for ImVec4

fn default() -> ImVec4

Returns the "default value" for a type. Read more

impl Debug for ImVec4

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ImVec4

fn clone(&self) -> ImVec4

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Copy for ImVec4

impl From<[f32; 4]> for ImVec4

fn from(array: [f32; 4]) -> ImVec4

Performs the conversion.

impl From<(f32, f32, f32, f32)> for ImVec4

fn from(tuple: (f32, f32, f32, f32)) -> ImVec4

Performs the conversion.

impl Attribute for ImVec4

fn get_type() -> AttributeType

Get the type of data.

fn is_supported<C>(caps: &C) -> bool where C: CapabilitiesSource

Returns true if the backend supports this type of attribute.