[][src]Enum imgui::Id

pub enum Id<'a> {
    Int(i32),
    Str(&'a str),
    Ptr(*const c_void),
}

Unique ID used by widgets

Variants

Int(i32)Str(&'a str)Ptr(*const c_void)

Trait Implementations

impl<'a> Eq for Id<'a>[src]

impl<'a> Clone for Id<'a>[src]

impl<'a> PartialEq<Id<'a>> for Id<'a>[src]

impl From<i32> for Id<'static>[src]

impl<'a, T: ?Sized + AsRef<str>> From<&'a T> for Id<'a>[src]

impl<T> From<*const T> for Id<'static>[src]

impl<T> From<*mut T> for Id<'static>[src]

impl<'a> Copy for Id<'a>[src]

impl<'a> Debug for Id<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for Id<'a>

impl<'a> !Sync for Id<'a>

impl<'a> !Send for Id<'a>

impl<'a> UnwindSafe for Id<'a>

impl<'a> RefUnwindSafe for Id<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]