Struct imgui_sys::ImGuiKeyData
source · #[repr(C)]pub struct ImGuiKeyData {
pub Down: bool,
pub DownDuration: f32,
pub DownDurationPrev: f32,
pub AnalogValue: f32,
}
Fields§
§Down: bool
§DownDuration: f32
§DownDurationPrev: f32
§AnalogValue: f32
Trait Implementations§
source§impl Clone for ImGuiKeyData
impl Clone for ImGuiKeyData
source§fn clone(&self) -> ImGuiKeyData
fn clone(&self) -> ImGuiKeyData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImGuiKeyData
impl Debug for ImGuiKeyData
source§impl Default for ImGuiKeyData
impl Default for ImGuiKeyData
source§fn default() -> ImGuiKeyData
fn default() -> ImGuiKeyData
Returns the “default value” for a type. Read more
source§impl PartialEq<ImGuiKeyData> for ImGuiKeyData
impl PartialEq<ImGuiKeyData> for ImGuiKeyData
source§fn eq(&self, other: &ImGuiKeyData) -> bool
fn eq(&self, other: &ImGuiKeyData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.