pub enum SearchFieldPlacement {
Automatic,
ToolbarPrincipal,
NavigationColumn,
Sidebar,
Toolbar,
}Expand description
Where a search field is placed in the surrounding chrome.
A struct rather than an enum, so each case is a static getter returning a value small enough to travel in a register.
Variants§
Trait Implementations§
Source§impl Clone for SearchFieldPlacement
impl Clone for SearchFieldPlacement
impl Copy for SearchFieldPlacement
Source§impl Debug for SearchFieldPlacement
impl Debug for SearchFieldPlacement
impl Eq for SearchFieldPlacement
Source§impl From<Automatic> for SearchFieldPlacement
impl From<Automatic> for SearchFieldPlacement
Source§fn from(_: NavigationColumn) -> Self
fn from(_: NavigationColumn) -> Self
Converts to this type from the input type.
Source§impl From<Sidebar> for SearchFieldPlacement
impl From<Sidebar> for SearchFieldPlacement
Source§impl From<Toolbar> for SearchFieldPlacement
impl From<Toolbar> for SearchFieldPlacement
Source§impl From<ToolbarPrincipal> for SearchFieldPlacement
impl From<ToolbarPrincipal> for SearchFieldPlacement
Source§fn from(_: ToolbarPrincipal) -> Self
fn from(_: ToolbarPrincipal) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SearchFieldPlacement
impl PartialEq for SearchFieldPlacement
impl StructuralPartialEq for SearchFieldPlacement
Auto Trait Implementations§
impl Freeze for SearchFieldPlacement
impl RefUnwindSafe for SearchFieldPlacement
impl Send for SearchFieldPlacement
impl Sync for SearchFieldPlacement
impl Unpin for SearchFieldPlacement
impl UnsafeUnpin for SearchFieldPlacement
impl UnwindSafe for SearchFieldPlacement
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