From b1feba6916f1ccf57b0a76914946c112ec2195a2 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Tue, 16 May 2023 07:34:03 +0300 Subject: Update bitflags to 2.2.1 --- alacritty/src/config/bindings.rs | 1 + alacritty/src/renderer/text/mod.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'alacritty/src') diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index 0e50807a..692cf7e9 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -764,6 +764,7 @@ pub struct ModeWrapper { bitflags! { /// Modes available for key bindings. + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct BindingMode: u8 { const APP_CURSOR = 0b0000_0001; const APP_KEYPAD = 0b0000_0010; diff --git a/alacritty/src/renderer/text/mod.rs b/alacritty/src/renderer/text/mod.rs index 228d2671..886b7f8b 100644 --- a/alacritty/src/renderer/text/mod.rs +++ b/alacritty/src/renderer/text/mod.rs @@ -23,6 +23,7 @@ use glyph_cache::{Glyph, LoadGlyph}; // NOTE: These flags must be in sync with their usage in the text.*.glsl shaders. bitflags! { #[repr(C)] + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] struct RenderingGlyphFlags: u8 { const COLORED = 0b0000_0001; const WIDE_CHAR = 0b0000_0010; -- cgit