Enum aldrin_parser::ast::TypeNameKind
source · pub enum TypeNameKind {
Show 28 variants
Bool,
U8,
I8,
U16,
I16,
U32,
I32,
U64,
I64,
F32,
F64,
String,
Uuid,
ObjectId,
ServiceId,
Value,
Option(Box<TypeName>),
Box(Box<TypeName>),
Vec(Box<TypeName>),
Bytes,
Map(KeyTypeName, Box<TypeName>),
Set(KeyTypeName),
Sender(Box<TypeName>),
Receiver(Box<TypeName>),
Lifetime,
Unit,
Extern(SchemaName, Ident),
Intern(Ident),
}Variants§
Bool
U8
I8
U16
I16
U32
I32
U64
I64
F32
F64
String
Uuid
ObjectId
ServiceId
Value
Option(Box<TypeName>)
Box(Box<TypeName>)
Vec(Box<TypeName>)
Bytes
Map(KeyTypeName, Box<TypeName>)
Set(KeyTypeName)
Sender(Box<TypeName>)
Receiver(Box<TypeName>)
Lifetime
Unit
Extern(SchemaName, Ident)
Intern(Ident)
Trait Implementations§
source§impl Clone for TypeNameKind
impl Clone for TypeNameKind
source§fn clone(&self) -> TypeNameKind
fn clone(&self) -> TypeNameKind
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TypeNameKind
impl Send for TypeNameKind
impl Sync for TypeNameKind
impl Unpin for TypeNameKind
impl UnwindSafe for TypeNameKind
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