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 PartialOrd for TypeInner
impl PartialOrd for TypeInner
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)