#[non_exhaustive]pub enum SexpKind {
Show 27 variants
Nil,
Sym,
PairList,
Env,
Char,
Logical,
Integer,
Real,
String,
List,
ExtPtr,
WeakRef,
Persist,
Package,
Namespace,
Ref,
Closure,
BuiltIn,
Special,
Promise,
Lang,
DotDotDot,
ByteCode,
S4,
Complex,
Raw,
Other(u8),
}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.
Nil
Sym
PairList
Env
Char
Logical
Integer
Real
String
List
ExtPtr
WeakRef
Persist
Package
Namespace
Ref
Closure
BuiltIn
Special
Promise
Lang
DotDotDot
ByteCode
S4
Complex
Raw
Other(u8)
Implementations§
Trait Implementations§
impl Copy for SexpKind
impl Eq for SexpKind
impl StructuralPartialEq for SexpKind
Auto Trait Implementations§
impl Freeze for SexpKind
impl RefUnwindSafe for SexpKind
impl Send for SexpKind
impl Sync for SexpKind
impl Unpin for SexpKind
impl UnsafeUnpin for SexpKind
impl UnwindSafe for SexpKind
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