pub enum SearchTemplateParts<'b> {
None,
Index(&'b [&'b str]),
}
Expand description
API parts for the Search Template API
Variants§
Implementations§
Trait Implementations§
Source§impl<'b> Clone for SearchTemplateParts<'b>
impl<'b> Clone for SearchTemplateParts<'b>
Source§fn clone(&self) -> SearchTemplateParts<'b>
fn clone(&self) -> SearchTemplateParts<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'b> Debug for SearchTemplateParts<'b>
impl<'b> Debug for SearchTemplateParts<'b>
Source§impl<'b> PartialEq for SearchTemplateParts<'b>
impl<'b> PartialEq for SearchTemplateParts<'b>
Source§fn eq(&self, other: &SearchTemplateParts<'b>) -> bool
fn eq(&self, other: &SearchTemplateParts<'b>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'b> Eq for SearchTemplateParts<'b>
impl<'b> StructuralPartialEq for SearchTemplateParts<'b>
Auto Trait Implementations§
impl<'b> Freeze for SearchTemplateParts<'b>
impl<'b> RefUnwindSafe for SearchTemplateParts<'b>
impl<'b> Send for SearchTemplateParts<'b>
impl<'b> Sync for SearchTemplateParts<'b>
impl<'b> Unpin for SearchTemplateParts<'b>
impl<'b> UnwindSafe for SearchTemplateParts<'b>
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