mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
Implement Component using vtable
(the C++ part not yet ported)
This commit is contained in:
parent
4b19818f6c
commit
fb691e0808
2 changed files with 8 additions and 5 deletions
|
@ -177,6 +177,8 @@ pub fn vtable(_attr: TokenStream, item: TokenStream) -> TokenStream {
|
|||
}
|
||||
// Remove pub, if any
|
||||
field.vis = Visibility::Inherited;
|
||||
// FIXME!!!
|
||||
field.vis = Visibility::Public(VisPublic{ pub_token: Default::default() });
|
||||
|
||||
let mut wrap_trait_call = None;
|
||||
if !has_self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue