Struct imgui_sys::ImVec2[][src]

#[repr(C)]
pub struct ImVec2 { pub x: c_float, pub y: c_float, }

A tuple of 2 floating-point values

Fields

Methods

impl ImVec2
[src]

Trait Implementations

impl Copy for ImVec2
[src]

impl Clone for ImVec2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ImVec2
[src]

Formats the value using the given formatter. Read more

impl Default for ImVec2
[src]

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

impl PartialEq for ImVec2
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<[f32; 2]> for ImVec2
[src]

Performs the conversion.

impl From<(f32, f32)> for ImVec2
[src]

Performs the conversion.

impl Into<[f32; 2]> for ImVec2
[src]

Performs the conversion.

impl Into<(f32, f32)> for ImVec2
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ImVec2

impl Sync for ImVec2