mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
allow some unused fields
I want these for the future, and they are harmless now
This commit is contained in:
parent
5b0642d2dc
commit
209d13bd6b
@ -5,6 +5,7 @@ use syn::{
|
||||
Result, Type,
|
||||
};
|
||||
|
||||
#[allow(unused)]
|
||||
pub struct ContainerInfo {
|
||||
pub into: Option<Path>,
|
||||
pub try_from: Option<Path>,
|
||||
@ -67,6 +68,7 @@ pub enum DefValue {
|
||||
Path(Path),
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub struct FieldInfo<'a> {
|
||||
pub field: &'a Field,
|
||||
pub type_name: String,
|
||||
|
@ -507,6 +507,7 @@ pub enum PaintOp {
|
||||
},
|
||||
PopTransform,
|
||||
PushGlyphClip {
|
||||
#[allow(unused)]
|
||||
glyph: hb_codepoint_t,
|
||||
draw: Vec<DrawOp>,
|
||||
},
|
||||
@ -518,12 +519,15 @@ pub enum PaintOp {
|
||||
},
|
||||
PopClip,
|
||||
PaintSolid {
|
||||
#[allow(unused)]
|
||||
is_foreground: bool,
|
||||
color: hb_color_t,
|
||||
},
|
||||
PaintImage {
|
||||
image: Blob,
|
||||
#[allow(unused)]
|
||||
width: u32,
|
||||
#[allow(unused)]
|
||||
height: u32,
|
||||
format: hb_tag_t,
|
||||
slant: f32,
|
||||
|
@ -38,6 +38,7 @@ struct Entry {
|
||||
pub struct LauncherTabEntry {
|
||||
pub title: String,
|
||||
pub tab_id: TabId,
|
||||
#[allow(unused)]
|
||||
pub tab_idx: usize,
|
||||
pub pane_count: Option<usize>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user