pub enum WidgetRelation {
Main,
Pushed,
Spawned,
}Expand description
What relation this Widget has to its parent.
Variants§
Main
The main widget of the cluster, most commonly a Buffer.
Pushed
A Widget that was pushed around the main Widget, e.g.
LineNumbers.
Spawned
A Widget that was spawned on the Widget, e.g. completion.
lists
Trait Implementations§
Source§impl Clone for WidgetRelation
impl Clone for WidgetRelation
Source§fn clone(&self) -> WidgetRelation
fn clone(&self) -> WidgetRelation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WidgetRelation
impl Debug for WidgetRelation
impl Copy for WidgetRelation
Auto Trait Implementations§
impl Freeze for WidgetRelation
impl RefUnwindSafe for WidgetRelation
impl Send for WidgetRelation
impl Sync for WidgetRelation
impl Unpin for WidgetRelation
impl UnsafeUnpin for WidgetRelation
impl UnwindSafe for WidgetRelation
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