#[repr(u8)]pub enum ExpressionEnum {
Show 16 variants
Function = 102,
Symbol = 115,
String = 83,
ByteArray = 66,
Integer8 = 67,
Integer16 = 106,
Integer32 = 105,
Integer64 = 76,
Real64 = 114,
BigInteger = 73,
BigReal = 82,
PackedArray = 193,
NumericArray = 194,
Association = 65,
Rule = 45,
RuleDelayed = 58,
}Expand description
Top-level WXF expression token. #[repr(u8)] discriminants are the wire bytes.
Variants§
Function = 102
Symbol = 115
String = 83
ByteArray = 66
Integer8 = 67
Integer16 = 106
Integer32 = 105
Integer64 = 76
Real64 = 114
BigInteger = 73
BigReal = 82
PackedArray = 193
NumericArray = 194
Association = 65
Rule = 45
RuleDelayed = 58
Implementations§
Trait Implementations§
Source§impl Clone for ExpressionEnum
impl Clone for ExpressionEnum
Source§fn clone(&self) -> ExpressionEnum
fn clone(&self) -> ExpressionEnum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpressionEnum
Source§impl Debug for ExpressionEnum
impl Debug for ExpressionEnum
impl Eq for ExpressionEnum
Source§impl PartialEq for ExpressionEnum
impl PartialEq for ExpressionEnum
Source§fn eq(&self, other: &ExpressionEnum) -> bool
fn eq(&self, other: &ExpressionEnum) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpressionEnum
Source§impl TryFrom<u8> for ExpressionEnum
impl TryFrom<u8> for ExpressionEnum
Source§type Error = TryFromPrimitiveError<ExpressionEnum>
type Error = TryFromPrimitiveError<ExpressionEnum>
The type returned in the event of a conversion error.
Source§fn try_from(
number: u8,
) -> Result<ExpressionEnum, TryFromPrimitiveError<ExpressionEnum>>
fn try_from( number: u8, ) -> Result<ExpressionEnum, TryFromPrimitiveError<ExpressionEnum>>
Performs the conversion.
Source§impl TryFromPrimitive for ExpressionEnum
impl TryFromPrimitive for ExpressionEnum
const NAME: &'static str = "ExpressionEnum"
type Primitive = u8
type Error = TryFromPrimitiveError<ExpressionEnum>
fn try_from_primitive( number: <ExpressionEnum as TryFromPrimitive>::Primitive, ) -> Result<ExpressionEnum, TryFromPrimitiveError<ExpressionEnum>>
Auto Trait Implementations§
impl Freeze for ExpressionEnum
impl RefUnwindSafe for ExpressionEnum
impl Send for ExpressionEnum
impl Sync for ExpressionEnum
impl Unpin for ExpressionEnum
impl UnsafeUnpin for ExpressionEnum
impl UnwindSafe for ExpressionEnum
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