pub enum TypeNameKind {
Show 29 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,
Result(Box<TypeName>, Box<TypeName>),
Array(Box<TypeName>, ArrayLen),
Ref(NamedRef),
}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
Result(Box<TypeName>, Box<TypeName>)
Array(Box<TypeName>, ArrayLen)
Ref(NamedRef)
Trait Implementations§
Source§impl Clone for TypeNameKind
impl Clone for TypeNameKind
Source§fn clone(&self) -> TypeNameKind
fn clone(&self) -> TypeNameKind
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 moreAuto Trait Implementations§
impl Freeze for TypeNameKind
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