pub enum PromptPlacement {
BottomBar,
TopPalette,
}Expand description
Where a frontend should render an open prompt.
Variants§
BottomBar
Vim-style single line anchored to the bottom (:, /, Ctrl+F).
TopPalette
Browser-F1 style floating palette centered near the top.
Trait Implementations§
Source§impl Clone for PromptPlacement
impl Clone for PromptPlacement
Source§fn clone(&self) -> PromptPlacement
fn clone(&self) -> PromptPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PromptPlacement
Source§impl Debug for PromptPlacement
impl Debug for PromptPlacement
Source§impl Default for PromptPlacement
impl Default for PromptPlacement
Source§fn default() -> PromptPlacement
fn default() -> PromptPlacement
Returns the “default value” for a type. Read more
impl Eq for PromptPlacement
Source§impl PartialEq for PromptPlacement
impl PartialEq for PromptPlacement
impl StructuralPartialEq for PromptPlacement
Auto Trait Implementations§
impl Freeze for PromptPlacement
impl RefUnwindSafe for PromptPlacement
impl Send for PromptPlacement
impl Sync for PromptPlacement
impl Unpin for PromptPlacement
impl UnsafeUnpin for PromptPlacement
impl UnwindSafe for PromptPlacement
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