[][src]Struct egui::LayerId

pub struct LayerId {
    pub order: Order,
    pub id: Id,
}

An identifier for a paint layer. Also acts as an identifier for Area:s.

Fields

order: Orderid: Id

Implementations

impl LayerId[src]

pub fn new(order: Order, id: Id) -> Self[src]

pub fn debug() -> Self[src]

pub fn background() -> Self[src]

pub fn allow_interaction(&self) -> bool[src]

Trait Implementations

impl Clone for LayerId[src]

impl Copy for LayerId[src]

impl Debug for LayerId[src]

impl Eq for LayerId[src]

impl Hash for LayerId[src]

impl PartialEq<LayerId> for LayerId[src]

impl StructuralEq for LayerId[src]

impl StructuralPartialEq for LayerId[src]

Auto Trait Implementations

impl RefUnwindSafe for LayerId

impl Send for LayerId

impl Sync for LayerId

impl Unpin for LayerId

impl UnwindSafe for LayerId

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.