Enum bot_sslime::utils::SplittedText
source · enum SplittedText {
Unmatched(String),
FullMatch(String),
HasPrefix(String, String),
HasSuffix(String, String),
HasPrefixAndSuffix(String, String, String),
}
Variants§
Unmatched(String)
FullMatch(String)
HasPrefix(String, String)
HasSuffix(String, String)
HasPrefixAndSuffix(String, String, String)
Trait Implementations§
source§impl Clone for SplittedText
impl Clone for SplittedText
source§fn clone(&self) -> SplittedText
fn clone(&self) -> SplittedText
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 SplittedText
impl Debug for SplittedText
source§impl PartialEq for SplittedText
impl PartialEq for SplittedText
source§fn eq(&self, other: &SplittedText) -> bool
fn eq(&self, other: &SplittedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SplittedText
impl StructuralPartialEq for SplittedText
Auto Trait Implementations§
impl Freeze for SplittedText
impl RefUnwindSafe for SplittedText
impl Send for SplittedText
impl Sync for SplittedText
impl Unpin for SplittedText
impl UnwindSafe for SplittedText
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.