pub enum LayerKind {
Base,
Overlay,
Modal,
}Expand description
Classification of a layer for backward-compatible TUI APIs.
Variants§
Base
The bottom layer that receives mounted components.
Overlay
A floating layer created by TUI::add_overlay.
Modal
A capture layer created by TUI::show_modal.
Trait Implementations§
impl Copy for LayerKind
impl StructuralPartialEq for LayerKind
Auto Trait Implementations§
impl Freeze for LayerKind
impl RefUnwindSafe for LayerKind
impl Send for LayerKind
impl Sync for LayerKind
impl Unpin for LayerKind
impl UnsafeUnpin for LayerKind
impl UnwindSafe for LayerKind
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