#[non_exhaustive]#[repr(u8)]pub enum AttrKind {
Ref = 0,
RefList = 1,
List = 2,
Real = 3,
Int = 4,
Text = 5,
Enum = 6,
Logical = 7,
Binary = 8,
Select = 9,
}Expand description
What an attribute’s declared EXPRESS type resolves to, through defined
types and selects. Mirrors KIND in packages/codegen/src/rust-attribute-flags.ts.
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.
Ref = 0
An entity, or a select of entities only.
RefList = 1
An aggregate of entities.
List = 2
Any other aggregate.
Real = 3
REAL or NUMBER.
Int = 4
INTEGER.
Text = 5
STRING.
Enum = 6
An ENUMERATION.
Logical = 7
BOOLEAN or LOGICAL.
Binary = 8
BINARY.
Select = 9
A select mixing entities with value types.
Trait Implementations§
impl Copy for AttrKind
impl Eq for AttrKind
impl StructuralPartialEq for AttrKind
Auto Trait Implementations§
impl Freeze for AttrKind
impl RefUnwindSafe for AttrKind
impl Send for AttrKind
impl Sync for AttrKind
impl Unpin for AttrKind
impl UnwindSafe for AttrKind
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