Trait 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§