gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1111HTML 1039Markdown 12TOML 94524 Sutichaykuna

Impl debug, clone for Cache

80693a6708716040ab207e46d6515686932e2a4b · ruwaq Nico Burns · (2 wata ñawpaq) · tayta 5c407ba1f · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

1 qillqakuna · +1 −0

diff --git a/src/tree/cache.rs b/src/tree/cache.rs
index 43c18b84d..3f3bb8cfb 100644
--- a/src/tree/cache.rs
+++ b/src/tree/cache.rs
@@ -19,6 +19,7 @@ pub(crate) struct CacheEntry<T> {
 }
 
 /// A cache for caching the results of a sizing a Grid Item or Flexbox Item
+#[derive(Debug, Clone)]
 #[cfg_attr(feature = "serde", derive(Serialize))]
 pub struct Cache {
     /// The cache entry for the node's final layout