pub enum ZoneHint {
Tab,
Sidebar,
Control,
Overlay,
StatusBar,
}Expand description
Where a plugin wants its zone to appear.
The host maps these hints to actual layout positions. A hint is a preference, not a guarantee — the host may ignore or reposition based on available space and terminal tier.
Variants§
Tab
Main content area (replaces default content when active).
Sidebar
Sidebar column (Standard + Wide tiers).
Control
Control column (Wide tier only).
Overlay
Floating overlay on top of all zones.
StatusBar
Status bar area (single line, bottom).
Trait Implementations§
impl Copy for ZoneHint
impl Eq for ZoneHint
impl StructuralPartialEq for ZoneHint
Auto Trait Implementations§
impl Freeze for ZoneHint
impl RefUnwindSafe for ZoneHint
impl Send for ZoneHint
impl Sync for ZoneHint
impl Unpin for ZoneHint
impl UnsafeUnpin for ZoneHint
impl UnwindSafe for ZoneHint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more