Enum bot_sslime::utils::SplittedElement
source · pub enum SplittedElement {
Unmatched(String),
Matched(String),
}
Variants§
Trait Implementations§
source§impl Clone for SplittedElement
impl Clone for SplittedElement
source§fn clone(&self) -> SplittedElement
fn clone(&self) -> SplittedElement
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 SplittedElement
impl Debug for SplittedElement
source§impl PartialEq for SplittedElement
impl PartialEq for SplittedElement
source§fn eq(&self, other: &SplittedElement) -> bool
fn eq(&self, other: &SplittedElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SplittedElement
impl StructuralPartialEq for SplittedElement
Auto Trait Implementations§
impl Freeze for SplittedElement
impl RefUnwindSafe for SplittedElement
impl Send for SplittedElement
impl Sync for SplittedElement
impl Unpin for SplittedElement
impl UnwindSafe for SplittedElement
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.