Enum sails_idl_parser::ast::TypeDecl
source · 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§
source§impl PartialEq for TypeDecl
impl PartialEq for TypeDecl
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)