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 for ImGuiKeyData
impl PartialEq 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 ==
.impl Copy for ImGuiKeyData
impl StructuralPartialEq for ImGuiKeyData
Auto Trait Implementations§
impl Freeze for ImGuiKeyData
impl RefUnwindSafe for ImGuiKeyData
impl Send for ImGuiKeyData
impl Sync for ImGuiKeyData
impl Unpin for ImGuiKeyData
impl UnwindSafe for ImGuiKeyData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more