blob: b341c234a5483a0fe5274d10148b141b2987f783 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#![allow(dead_code)]
use crate::core::overlay;
use crate::core::Element;
use ouroboros::self_referencing;
#[self_referencing(pub_extras)]
pub struct Cache<'a, Message: 'a, Theme: 'a, Renderer: 'a> {
pub element: Element<'a, Message, Theme, Renderer>,
#[borrows(mut element)]
#[covariant]
overlay: Option<overlay::Element<'this, Message, Theme, Renderer>>,
}
|