pub struct InlineDropdownRenderer { /* private fields */ }Expand description
Inline dropdown command palette renderer.
This renderer draws a compact bordered dropdown inside the supplied area and
does not clear content outside that area. It is intended for embedding below
another input or toolbar. See the render module for the renderer
contract shared by all built-in renderers.
Implementations§
Source§impl InlineDropdownRenderer
impl InlineDropdownRenderer
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an InlineDropdownRenderer with the default title.
Trait Implementations§
Source§impl Clone for InlineDropdownRenderer
impl Clone for InlineDropdownRenderer
Source§fn clone(&self) -> InlineDropdownRenderer
fn clone(&self) -> InlineDropdownRenderer
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 moreSource§impl Debug for InlineDropdownRenderer
impl Debug for InlineDropdownRenderer
Source§impl Default for InlineDropdownRenderer
impl Default for InlineDropdownRenderer
Auto Trait Implementations§
impl Freeze for InlineDropdownRenderer
impl RefUnwindSafe for InlineDropdownRenderer
impl Send for InlineDropdownRenderer
impl Sync for InlineDropdownRenderer
impl Unpin for InlineDropdownRenderer
impl UnsafeUnpin for InlineDropdownRenderer
impl UnwindSafe for InlineDropdownRenderer
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<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