Enum molecule_codegen::ast::TopDecl
source · pub enum TopDecl {
Primitive(Primitive),
Option_(Option_),
Union(Union),
Array(Array),
Struct(Struct),
FixVec(FixVec),
DynVec(DynVec),
Table(Table),
}
Variants§
Primitive(Primitive)
Option_(Option_)
Union(Union)
Array(Array)
Struct(Struct)
FixVec(FixVec)
DynVec(DynVec)
Table(Table)
Implementations§
Trait Implementations§
source§impl DefaultContent for TopDecl
impl DefaultContent for TopDecl
fn default_content(&self) -> Vec<u8>
Auto Trait Implementations§
impl Freeze for TopDecl
impl RefUnwindSafe for TopDecl
impl !Send for TopDecl
impl !Sync for TopDecl
impl Unpin for TopDecl
impl UnwindSafe for TopDecl
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