(value: Style)
| 45 | } |
| 46 | |
| 47 | const impl From<Style> for StyleProxy { |
| 48 | fn from(value: Style) -> Self { |
| 49 | Self { |
| 50 | effects: value.get_effects(), |
| 51 | foreground: const_from(value.get_fg_color()), |
| 52 | background: const_from(value.get_bg_color()), |
| 53 | underline: const_from(value.get_underline_color()), |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | const impl From<StyleProxy> for Style { |