pub enum TypeDecl {
Vector(Box<TypeDecl>),
Array {
item: Box<TypeDecl>,
len: u32,
},
Map {
key: Box<TypeDecl>,
value: Box<TypeDecl>,
},
Optional(Box<TypeDecl>),
Result {
ok: Box<TypeDecl>,
err: Box<TypeDecl>,
},
Id(TypeId),
Def(TypeDef),
}Variants§
Trait Implementations§
impl StructuralPartialEq for TypeDecl
Auto Trait Implementations§
impl Freeze for TypeDecl
impl RefUnwindSafe for TypeDecl
impl Send for TypeDecl
impl Sync for TypeDecl
impl Unpin for TypeDecl
impl UnwindSafe for TypeDecl
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)