From 46e76ad0973601440587120d7746e353fbbebd9e Mon Sep 17 00:00:00 2001 From: Lars Bergstrom Date: Fri, 25 Apr 2014 16:35:49 -0500 Subject: [PATCH] Rust upgrade - fix privacy --- layers.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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>>, }