[][src]Enum egui::paint::tessellator::TextureId

pub enum TextureId {
    Egui,
    User(u64),
}

What texture to use in a Triangles mesh.

Variants

Egui

The Egui font texture. If you don't want to use a texture, pick this and the WHITE_UV for uv-coord.

User(u64)

Your own texture, defined in any which way you want. Egui won't care. The backend renderer will presumably use this to look up what texture to use.

Trait Implementations

impl Clone for TextureId[src]

impl Copy for TextureId[src]

impl Debug for TextureId[src]

impl Default for TextureId[src]

impl Eq for TextureId[src]

impl Hash for TextureId[src]

impl PartialEq<TextureId> for TextureId[src]

impl StructuralEq for TextureId[src]

impl StructuralPartialEq for TextureId[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> CallHasher for T where
    T: Hash
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.