@@ -36,8 +36,7 @@ pub struct Style {
3636
3737/// Information about the document, including references to fonts & styles
3838#[ derive( Default , Debug , Clone , PartialEq , Deserialize , Serialize ) ]
39- #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) ) ]
40- #[ cfg_attr( feature = "jsbindings" , tsify( into_wasm_abi, from_wasm_abi) ) ]
39+ #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) , tsify( into_wasm_abi, from_wasm_abi) ) ]
4140pub struct RtfHeader {
4241 pub character_set : CharacterSet ,
4342 pub font_table : FontTable ,
@@ -63,8 +62,7 @@ pub struct Color {
6362
6463#[ allow( dead_code) ]
6564#[ derive( Debug , PartialEq , Default , Clone , Hash , Deserialize , Serialize ) ]
66- #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) ) ]
67- #[ cfg_attr( feature = "jsbindings" , tsify( into_wasm_abi, from_wasm_abi) ) ]
65+ #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) , tsify( into_wasm_abi, from_wasm_abi) ) ]
6866pub enum CharacterSet {
6967 #[ default]
7068 Ansi ,
@@ -86,8 +84,7 @@ impl CharacterSet {
8684
8785#[ allow( dead_code) ]
8886#[ derive( Debug , PartialEq , Hash , Clone , Default , Deserialize , Serialize ) ]
89- #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) ) ]
90- #[ cfg_attr( feature = "jsbindings" , tsify( into_wasm_abi, from_wasm_abi) ) ]
87+ #[ cfg_attr( feature = "jsbindings" , derive( Tsify ) , tsify( into_wasm_abi, from_wasm_abi) ) ]
9188pub enum FontFamily {
9289 #[ default]
9390 Nil ,
0 commit comments