gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 701HTML 654Markdown 12TOML 62332 Sutichaykuna

Make cache struct private

1021f1786bdd935ca4eb214993a13a6a520b5fa3 · ruwaq Emil Sjölander · (7 wata ñawpaq) · tayta daab0faa4 · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

src/result.rs

  • silq'uyninpi t'ikrakurqan def Cache pub

1 qillqakuna · +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,