#[repr(u32)]pub enum Layer {
All = 0,
BelowBg = 1,
BelowText = 2,
AboveText = 3,
}Available on crate feature
kitty-graphics only.Expand description
Z-layer classification for kitty graphics placements.
Variants§
All = 0
Match all placements; apply no filtering (default behavior).
BelowBg = 1
Match placements positioned below the cell background (z < i32::MIN / 2).
BelowText = 2
Match placements positioned above the cell background and below text
(i32::MIN / 2 ≤ z < 0).
AboveText = 3
Match placements positioned above text (z ≥ 0).
Trait Implementations§
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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