pub enum ResultsCount {
Absolute(usize),
Fraction(usize, usize),
}
Expand description
The number of search results returned. Either a total number of results, or an index of the current result in relation to total results.
Variants§
Trait Implementations§
source§impl Clone for ResultsCount
impl Clone for ResultsCount
source§fn clone(&self) -> ResultsCount
fn clone(&self) -> ResultsCount
Returns a copy 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 ResultsCount
impl Debug for ResultsCount
source§impl PartialEq for ResultsCount
impl PartialEq for ResultsCount
source§fn eq(&self, other: &ResultsCount) -> bool
fn eq(&self, other: &ResultsCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToHtml for ResultsCount
impl ToHtml for ResultsCount
impl StructuralPartialEq for ResultsCount
Auto Trait Implementations§
impl Freeze for ResultsCount
impl RefUnwindSafe for ResultsCount
impl Send for ResultsCount
impl Sync for ResultsCount
impl Unpin for ResultsCount
impl UnwindSafe for ResultsCount
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> 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> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<VNode> for Twhere
T: ToHtml,
impl<T> IntoPropValue<VNode> for Twhere
T: ToHtml,
source§fn into_prop_value(self) -> VNode
fn into_prop_value(self) -> VNode
Convert
self
to a value of a Properties
struct.