#[repr(u16)]pub enum FeatureKind {
Show 69 variants
I8 = 1,
I16 = 2,
I32 = 3,
I64 = 4,
I128 = 5,
U8 = 6,
U16 = 7,
U32 = 8,
U64 = 9,
U128 = 10,
F32 = 11,
F64 = 12,
C64 = 13,
R64 = 14,
String = 15,
Bool = 16,
Set = 17,
Map = 18,
Table = 19,
Tuple = 20,
Record = 21,
Enum = 22,
VariableDefine = 23,
VariableAssign = 24,
KindDefine = 25,
KindAnnotation = 26,
SubscriptRange = 27,
SubscriptFormula = 28,
DotIndexing = 29,
Swizzle = 30,
Matrix1 = 31,
Matrix2 = 32,
Matrix3 = 33,
Matrix4 = 34,
Matrix2x3 = 35,
Matrix3x2 = 36,
RowVector2 = 37,
RowVector3 = 38,
RowVector4 = 39,
Vector2 = 40,
Vector3 = 41,
Vector4 = 42,
VectorD = 43,
MatrixD = 44,
RowVectorD = 45,
HorzCat = 46,
VertCat = 47,
Compiler = 48,
PrettyPrint = 49,
Serde = 50,
MatMul = 51,
Transpose = 52,
Dot = 53,
Cross = 54,
Add = 55,
Sub = 56,
Mul = 57,
Div = 58,
LT = 59,
LTE = 60,
GT = 61,
GTE = 62,
EQ = 63,
NEQ = 64,
And = 65,
Or = 66,
Xor = 67,
Not = 68,
Custom = 65_535,
}
Variants§
I8 = 1
I16 = 2
I32 = 3
I64 = 4
I128 = 5
U8 = 6
U16 = 7
U32 = 8
U64 = 9
U128 = 10
F32 = 11
F64 = 12
C64 = 13
R64 = 14
String = 15
Bool = 16
Set = 17
Map = 18
Table = 19
Tuple = 20
Record = 21
Enum = 22
VariableDefine = 23
VariableAssign = 24
KindDefine = 25
KindAnnotation = 26
SubscriptRange = 27
SubscriptFormula = 28
DotIndexing = 29
Swizzle = 30
Matrix1 = 31
Matrix2 = 32
Matrix3 = 33
Matrix4 = 34
Matrix2x3 = 35
Matrix3x2 = 36
RowVector2 = 37
RowVector3 = 38
RowVector4 = 39
Vector2 = 40
Vector3 = 41
Vector4 = 42
VectorD = 43
MatrixD = 44
RowVectorD = 45
HorzCat = 46
VertCat = 47
Compiler = 48
PrettyPrint = 49
Serde = 50
MatMul = 51
Transpose = 52
Dot = 53
Cross = 54
Add = 55
Sub = 56
Mul = 57
Div = 58
LT = 59
LTE = 60
GT = 61
GTE = 62
EQ = 63
NEQ = 64
And = 65
Or = 66
Xor = 67
Not = 68
Custom = 65_535
Trait Implementations§
Source§impl Clone for FeatureKind
impl Clone for FeatureKind
Source§fn clone(&self) -> FeatureKind
fn clone(&self) -> FeatureKind
Returns a duplicate 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 FeatureKind
impl Debug for FeatureKind
Source§impl Hash for FeatureKind
impl Hash for FeatureKind
Source§impl PartialEq for FeatureKind
impl PartialEq for FeatureKind
impl Copy for FeatureKind
impl Eq for FeatureKind
impl StructuralPartialEq for FeatureKind
Auto Trait Implementations§
impl Freeze for FeatureKind
impl RefUnwindSafe for FeatureKind
impl Send for FeatureKind
impl Sync for FeatureKind
impl Unpin for FeatureKind
impl UnwindSafe for FeatureKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.