Struct imgui_sys::ImVec2
[−]
[src]
pub struct ImVec2 { pub x: c_float, pub y: c_float, }
Fields
x: c_float
y: c_float
Methods
impl ImVec2
[src]
Trait Implementations
impl PartialEq for ImVec2
[src]
fn eq(&self, __arg_0: &ImVec2) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImVec2) -> bool
This method tests for !=
.
impl Default for ImVec2
[src]
impl Debug for ImVec2
[src]
impl Clone for ImVec2
[src]
fn clone(&self) -> ImVec2
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ImVec2
[src]
impl From<[f32; 2]> for ImVec2
[src]
impl From<(f32, f32)> for ImVec2
[src]
impl Attribute for ImVec2
[src]
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.