mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 20:42:25 +00:00
Add the #[pin] attribute to be able to project to the pinned item
This commit is contained in:
parent
9ed660926c
commit
f50a705e00
9 changed files with 32 additions and 16 deletions
|
@ -30,7 +30,9 @@ struct VRef {
|
|||
};
|
||||
*/
|
||||
|
||||
template<typename Base, typename T>
|
||||
struct PinnedFlag;
|
||||
|
||||
template<typename Base, typename T, typename Flag = void>
|
||||
struct VOffset
|
||||
{
|
||||
const T *vtable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue