tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 582HTML 275Markdown 8TOML 41545 Definiciones

Impl debug, clone for Cache

80693a6708716040ab207e46d6515686932e2a4b · por Nico Burns · (hace 2 años) · padre 5c407ba1f · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +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