diff --git a/layers.rs b/layers.rs index 2f73256..69cf947 100644 --- a/layers.rs +++ b/layers.rs @@ -40,9 +40,9 @@ impl Layer { } pub struct CommonLayer { - parent: Option, - prev_sibling: Option, - next_sibling: Option, + pub parent: Option, + pub prev_sibling: Option, + pub next_sibling: Option, pub transform: Matrix4, } @@ -66,8 +66,8 @@ pub fn CommonLayer() -> CommonLayer { pub struct ContainerLayer { pub common: RefCell, - first_child: RefCell>, - last_child: RefCell>, + pub first_child: RefCell>, + pub last_child: RefCell>, pub scissor: RefCell>>, }