forked from libre-chip/fayalite
rename FixedType->StaticType, fixed_type()->static_type(), hdl(fixed_type)->hdl(static), IsFixedLen->IsStaticLen
This commit is contained in:
parent
c19a6821cf
commit
2dce478d48
20 changed files with 165 additions and 164 deletions
|
@ -312,9 +312,9 @@ impl ModuleFn {
|
|||
#body_fn
|
||||
::fayalite::module::ModuleBuilder::run(#fn_name_str, |m| __body #body_turbofish_type_generics(m, #(#param_names,)*))
|
||||
}};
|
||||
let fixed_type = io.iter().all(|io| io.kind.ty_expr.is_none());
|
||||
let struct_options = if fixed_type {
|
||||
quote! { #[hdl(fixed_type)] }
|
||||
let static_type = io.iter().all(|io| io.kind.ty_expr.is_none());
|
||||
let struct_options = if static_type {
|
||||
quote! { #[hdl(static)] }
|
||||
} else {
|
||||
quote! {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue