pub struct SearchRow {
pub subtitle: Option<String>,
pub icon: Option<String>,
pub shape: SearchRowShape,
}Fields§
§subtitle: Option<String>The dimmer line under the title (an address, a path, a date).
icon: Option<String>A named icon from the icon set ("mail", "calendar"); None draws
the app’s own.
shape: SearchRowShapeWhat the hit is, for the row’s shape.
Implementations§
Trait Implementations§
impl Eq for SearchRow
impl StructuralPartialEq for SearchRow
Auto Trait Implementations§
impl Forget for SearchRow
impl Freeze for SearchRow
impl Move for SearchRow
impl RefUnwindSafe for SearchRow
impl Send for SearchRow
impl Sync for SearchRow
impl Unpin for SearchRow
impl UnsafeUnpin for SearchRow
impl UnwindSafe for SearchRow
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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