Enum nutrimatic::SearchResult [−][src]
The result of searching for a sequence of characters.
This struct
is created by the search_string
method on Node
. See
its documentation for more.
Variants
FailedOn(usize)
Result indicating that the search stopped before reaching the end (i.e.,
FailedOn(n)
means that there was no edge in the trie for the character
at index n
).
Found(Node<'buf>)
Result indicating that traversing the trie through the given characters led to the included node.
Trait Implementations
impl<'buf> Clone for SearchResult<'buf>
[src]
fn clone(&self) -> SearchResult<'buf>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'buf> Copy for SearchResult<'buf>
[src]
impl<'buf> Debug for SearchResult<'buf>
[src]
Auto Trait Implementations
impl<'buf> RefUnwindSafe for SearchResult<'buf>
impl<'buf> Send for SearchResult<'buf>
impl<'buf> Sync for SearchResult<'buf>
impl<'buf> Unpin for SearchResult<'buf>
impl<'buf> UnwindSafe for SearchResult<'buf>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,