From 77dac270a8a99f24a6fc0eb9e92256bcc07c586c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 19 Aug 2020 20:49:01 +0200 Subject: =?UTF-8?q?Make=20compute=20functions=20possible=20=F0=9F=92=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ships with the amazing new `rgb` function! --- src/layout/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 837c19ec..efb2f169 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -45,7 +45,7 @@ pub struct BoxLayout { } /// The context for layouting. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct LayoutContext<'a> { /// The font loader to query fonts from when typesetting text. pub loader: &'a SharedFontLoader, -- cgit v1.2.3