gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Make cache struct private

1021f1786bdd935ca4eb214993a13a6a520b5fa3 · by Emil Sjölander · (7 years ago) · parent daab0faa4 · browse the tree at this commit

Semantic delta · 1

src/result.rs

  • signature changed def Cache pub

1 files · +1 −1

diff --git a/src/result.rs b/src/result.rs
index 59eea6ab5..268c026eb 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -18,7 +18,7 @@ pub struct Layout {
 }
 
 #[derive(Debug, Clone)]
-pub struct Cache {
+pub(crate) struct Cache {
     pub(crate) node_size: Size<Number>,
     pub(crate) parent_size: Size<Number>,
     pub(crate) perform_layout: bool,