From 0ad7d5f1ccfcda3ac4196b0361ed1e4f4afc0e71 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 5 Jan 2016 18:47:56 +0300 Subject: [PATCH] Update lib.rs It is better to derive Clone for Hinting. I really need it for my project. --- src/sdl2_ttf/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2_ttf/lib.rs b/src/sdl2_ttf/lib.rs index 6688f9ed..c097156f 100644 --- a/src/sdl2_ttf/lib.rs +++ b/src/sdl2_ttf/lib.rs @@ -62,7 +62,7 @@ bitflags! { } } -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub enum Hinting { Normal = ffi::TTF_HINTING_NORMAL as isize, Light = ffi::TTF_HINTING_LIGHT as isize,