tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1117HTML 1044Markdown 12TOML 94797 Sutichaykuna

Make cache private

bd196f087f36bb5bd651c6255d5d366d1af454f2 · ruwaq Emil Sjölander · (7 wata ñawpaq) · tayta 3f589d046 · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

src/result.rs

  • silq'uyninpi t'ikrakurqan struct Cache pub

1 qillqakuna · +4 −4

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