#[non_exhaustive]
pub enum SpanKind {
Number,
BuiltInFunction,
Keyword,
String,
Date,
Whitespace,
Ident,
Boolean,
Other,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Number
BuiltInFunction
Keyword
String
Date
Whitespace
Ident
Boolean
Other
Trait Implementations
impl Copy for SpanKind
impl Eq for SpanKind
impl StructuralEq for SpanKind
impl StructuralPartialEq for SpanKind
Auto Trait Implementations
impl RefUnwindSafe for SpanKind
impl Send for SpanKind
impl Sync for SpanKind
impl Unpin for SpanKind
impl UnwindSafe for SpanKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more