pub enum TypeInner {
Show 29 variants
Null,
Bool,
Nat,
Int,
Nat8,
Nat16,
Nat32,
Nat64,
Int8,
Int16,
Int32,
Int64,
Float32,
Float64,
Text,
Reserved,
Empty,
Knot(TypeId),
Var(String),
Unknown,
Opt(Type),
Vec(Type),
Record(Vec<Field>),
Variant(Vec<Field>),
Func(Function),
Service(Vec<(String, Type)>),
Class(Vec<Type>, Type),
Principal,
Future,
}
Variants§
Null
Bool
Nat
Int
Nat8
Nat16
Nat32
Nat64
Int8
Int16
Int32
Int64
Float32
Float64
Text
Reserved
Empty
Knot(TypeId)
Var(String)
Unknown
Opt(Type)
Vec(Type)
Record(Vec<Field>)
Variant(Vec<Field>)
Func(Function)
Service(Vec<(String, Type)>)
Class(Vec<Type>, Type)
Principal
Future
Implementations§
Trait Implementations§
source§impl Ord for TypeInner
impl Ord for TypeInner
source§impl PartialEq for TypeInner
impl PartialEq for TypeInner
source§impl PartialOrd for TypeInner
impl PartialOrd for TypeInner
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TypeInner
impl StructuralPartialEq for TypeInner
Auto Trait Implementations§
impl Freeze for TypeInner
impl RefUnwindSafe for TypeInner
impl !Send for TypeInner
impl !Sync for TypeInner
impl Unpin for TypeInner
impl UnwindSafe for TypeInner
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