#[repr(u32)]pub enum LayerType {
Background = 0,
Normal = 1,
Panel = 2,
Overlay = 3,
Cursor = 4,
}Expand description
Tipo de camada no compositor.
Define a ordem de desenho e comportamento de diferentes tipos de superfícies.
Variants§
Background = 0
Fundo/wallpaper (abaixo de tudo).
Normal = 1
Janelas normais de aplicações.
Panel = 2
Painéis (taskbar, dock).
Overlay = 3
Overlay (notificações, menus popup).
Cursor = 4
Cursor do mouse (acima de tudo).
Trait Implementations§
Source§impl Ord for LayerType
impl Ord for LayerType
Source§impl PartialOrd for LayerType
impl PartialOrd for LayerType
impl Copy for LayerType
impl Eq for LayerType
impl StructuralPartialEq for LayerType
Auto Trait Implementations§
impl Freeze for LayerType
impl RefUnwindSafe for LayerType
impl Send for LayerType
impl Sync for LayerType
impl Unpin for LayerType
impl UnwindSafe for LayerType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more