Trait easy_imgui::Hashable

source ·
pub trait Hashable {
    // Required methods
    unsafe fn get_id(&self) -> ImGuiID;
    unsafe fn push(&self);
}
Expand description

Represents any type that can be converted to a Dear ImGui hash id.

Required Methods§

source

unsafe fn get_id(&self) -> ImGuiID

source

unsafe fn push(&self)

Implementations on Foreign Types§

source§

impl Hashable for &str

source§

unsafe fn get_id(&self) -> ImGuiID

source§

unsafe fn push(&self)

source§

impl Hashable for usize

source§

unsafe fn get_id(&self) -> ImGuiID

source§

unsafe fn push(&self)

Implementors§