1#![allow(missing_docs)]
22
23#[derive(Clone, Copy, Debug, PartialEq, Eq)]
25pub struct Accent;
26
27#[derive(Clone, Copy, Debug, PartialEq, Eq)]
29pub struct Accessibility1;
30
31#[derive(Clone, Copy, Debug, PartialEq, Eq)]
33pub struct Accessibility2;
34
35#[derive(Clone, Copy, Debug, PartialEq, Eq)]
37pub struct Accessibility3;
38
39#[derive(Clone, Copy, Debug, PartialEq, Eq)]
41pub struct Accessibility4;
42
43#[derive(Clone, Copy, Debug, PartialEq, Eq)]
45pub struct Accessibility5;
46
47#[derive(Clone, Copy, Debug, PartialEq, Eq)]
49pub struct AccessoryBar;
50
51#[derive(Clone, Copy, Debug, PartialEq, Eq)]
53pub struct AccessoryCircularCapacityGaugeStyle;
54
55#[derive(Clone, Copy, Debug, PartialEq, Eq)]
57pub struct AccessoryCircularGaugeStyle;
58
59#[derive(Clone, Copy, Debug, PartialEq, Eq)]
61pub struct AccessoryLinearCapacityGaugeStyle;
62
63#[derive(Clone, Copy, Debug, PartialEq, Eq)]
65pub struct AccessoryLinearGaugeStyle;
66
67#[derive(Clone, Copy, Debug, PartialEq, Eq)]
69pub struct Active;
70
71#[derive(Clone, Copy, Debug, PartialEq, Eq)]
73pub struct Alignment;
74
75#[derive(Clone, Copy, Debug, PartialEq, Eq)]
77pub struct All;
78
79#[derive(Clone, Copy, Debug, PartialEq, Eq)]
81pub struct AllCharacters;
82
83#[derive(Clone, Copy, Debug, PartialEq, Eq)]
85pub struct AllowsDirectInteraction;
86
87#[derive(Clone, Copy, Debug, PartialEq, Eq)]
89pub struct Alphanumerics;
90
91#[derive(Clone, Copy, Debug, PartialEq, Eq)]
93pub struct Always;
94
95#[derive(Clone, Copy, Debug, PartialEq, Eq)]
97pub struct Animated;
98
99#[derive(Clone, Copy, Debug, PartialEq, Eq)]
101pub struct AsciiCapable;
102
103#[derive(Clone, Copy, Debug, PartialEq, Eq)]
105pub struct AsciiCapableNumberPad;
106
107#[derive(Clone, Copy, Debug, PartialEq, Eq)]
109pub struct Automatic;
110
111#[derive(Clone, Copy, Debug, PartialEq, Eq)]
113pub struct AutomaticControlGroupStyle;
114
115#[derive(Clone, Copy, Debug, PartialEq, Eq)]
117pub struct AutomaticDisclosureGroupStyle;
118
119#[derive(Clone, Copy, Debug, PartialEq, Eq)]
121pub struct AutomaticFormStyle;
122
123#[derive(Clone, Copy, Debug, PartialEq, Eq)]
125pub struct AutomaticLabeledContentStyle;
126
127#[derive(Clone, Copy, Debug, PartialEq, Eq)]
129pub struct AutomaticTableStyle;
130
131#[derive(Clone, Copy, Debug, PartialEq, Eq)]
133pub struct AutomaticTextEditorStyle;
134
135#[derive(Clone, Copy, Debug, PartialEq, Eq)]
137pub struct AvoidHidingContent;
138
139#[derive(Clone, Copy, Debug, PartialEq, Eq)]
141pub struct Background;
142
143#[derive(Clone, Copy, Debug, PartialEq, Eq)]
145pub struct BackgroundStyle;
146
147#[derive(Clone, Copy, Debug, PartialEq, Eq)]
149pub struct Balanced;
150
151#[derive(Clone, Copy, Debug, PartialEq, Eq)]
153pub struct Bar;
154
155#[derive(Clone, Copy, Debug, PartialEq, Eq)]
157pub struct BasedOnSize;
158
159#[derive(Clone, Copy, Debug, PartialEq, Eq)]
161pub struct Black;
162
163#[derive(Clone, Copy, Debug, PartialEq, Eq)]
165pub struct Blue;
166
167#[derive(Clone, Copy, Debug, PartialEq, Eq)]
169pub struct Body;
170
171#[derive(Clone, Copy, Debug, PartialEq, Eq)]
173pub struct Bold;
174
175#[derive(Clone, Copy, Debug, PartialEq, Eq)]
177pub struct Bordered;
178
179#[derive(Clone, Copy, Debug, PartialEq, Eq)]
181pub struct BorderedButtonMenuStyle;
182
183#[derive(Clone, Copy, Debug, PartialEq, Eq)]
185pub struct BorderedListStyle;
186
187#[derive(Clone, Copy, Debug, PartialEq, Eq)]
189pub struct BorderedProminent;
190
191#[derive(Clone, Copy, Debug, PartialEq, Eq)]
193pub struct BorderedTableStyle;
194
195#[derive(Clone, Copy, Debug, PartialEq, Eq)]
197pub struct BorderlessButtonMenuStyle;
198
199#[derive(Clone, Copy, Debug, PartialEq, Eq)]
201pub struct BorderlessPullDownMenuButtonStyle;
202
203#[derive(Clone, Copy, Debug, PartialEq, Eq)]
205pub struct Bottom;
206
207#[derive(Clone, Copy, Debug, PartialEq, Eq)]
209pub struct BottomBar;
210
211#[derive(Clone, Copy, Debug, PartialEq, Eq)]
213pub struct BottomLeading;
214
215#[derive(Clone, Copy, Debug, PartialEq, Eq)]
217pub struct BottomTrailing;
218
219#[derive(Clone, Copy, Debug, PartialEq, Eq)]
221pub struct Bounce;
222
223#[derive(Clone, Copy, Debug, PartialEq, Eq)]
225pub struct Breathe;
226
227#[derive(Clone, Copy, Debug, PartialEq, Eq)]
229pub struct Brown;
230
231#[derive(Clone, Copy, Debug, PartialEq, Eq)]
233pub struct ButtonMenuStyle;
234
235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
237pub struct ButtonToggleStyle;
238
239#[derive(Clone, Copy, Debug, PartialEq, Eq)]
241pub struct Callout;
242
243#[derive(Clone, Copy, Debug, PartialEq, Eq)]
245pub struct Cancel;
246
247#[derive(Clone, Copy, Debug, PartialEq, Eq)]
249pub struct CancelAction;
250
251#[derive(Clone, Copy, Debug, PartialEq, Eq)]
253pub struct CancellationAction;
254
255#[derive(Clone, Copy, Debug, PartialEq, Eq)]
257pub struct CapsLock;
258
259#[derive(Clone, Copy, Debug, PartialEq, Eq)]
261pub struct Capsule;
262
263#[derive(Clone, Copy, Debug, PartialEq, Eq)]
265pub struct Caption;
266
267#[derive(Clone, Copy, Debug, PartialEq, Eq)]
269pub struct Caption2;
270
271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
273pub struct CausesPageTurn;
274
275#[derive(Clone, Copy, Debug, PartialEq, Eq)]
277pub struct Center;
278
279#[derive(Clone, Copy, Debug, PartialEq, Eq)]
281pub struct Characters;
282
283#[derive(Clone, Copy, Debug, PartialEq, Eq)]
285pub struct CheckboxToggleStyle;
286
287#[derive(Clone, Copy, Debug, PartialEq, Eq)]
289pub struct Circle;
290
291#[derive(Clone, Copy, Debug, PartialEq, Eq)]
293pub struct Circular;
294
295#[derive(Clone, Copy, Debug, PartialEq, Eq)]
297pub struct Clear;
298
299#[derive(Clone, Copy, Debug, PartialEq, Eq)]
301pub struct Close;
302
303#[derive(Clone, Copy, Debug, PartialEq, Eq)]
305pub struct Collection;
306
307#[derive(Clone, Copy, Debug, PartialEq, Eq)]
309pub struct Color;
310
311#[derive(Clone, Copy, Debug, PartialEq, Eq)]
313pub struct ColumnResize;
314
315#[derive(Clone, Copy, Debug, PartialEq, Eq)]
317pub struct ColumnsFormStyle;
318
319#[derive(Clone, Copy, Debug, PartialEq, Eq)]
321pub struct Combine;
322
323#[derive(Clone, Copy, Debug, PartialEq, Eq)]
325pub struct Command;
326
327#[derive(Clone, Copy, Debug, PartialEq, Eq)]
329pub struct CompactDatePickerStyle;
330
331#[derive(Clone, Copy, Debug, PartialEq, Eq)]
333pub struct CompactMenuControlGroupStyle;
334
335#[derive(Clone, Copy, Debug, PartialEq, Eq)]
337pub struct Complete;
338
339#[derive(Clone, Copy, Debug, PartialEq, Eq)]
341pub struct Compressed;
342
343#[derive(Clone, Copy, Debug, PartialEq, Eq)]
345pub struct Concrete;
346
347#[derive(Clone, Copy, Debug, PartialEq, Eq)]
349pub struct Condensed;
350
351#[derive(Clone, Copy, Debug, PartialEq, Eq)]
353pub struct Confirm;
354
355#[derive(Clone, Copy, Debug, PartialEq, Eq)]
357pub struct ConfirmationAction;
358
359#[derive(Clone, Copy, Debug, PartialEq, Eq)]
361pub struct Console;
362
363#[derive(Clone, Copy, Debug, PartialEq, Eq)]
365pub struct ConstrainedHigh;
366
367#[derive(Clone, Copy, Debug, PartialEq, Eq)]
369pub struct Contain;
370
371#[derive(Clone, Copy, Debug, PartialEq, Eq)]
373pub struct Container;
374
375#[derive(Clone, Copy, Debug, PartialEq, Eq)]
377pub struct ContainerRelativeShape;
378
379#[derive(Clone, Copy, Debug, PartialEq, Eq)]
381pub struct Content;
382
383#[derive(Clone, Copy, Debug, PartialEq, Eq)]
385pub struct ContentBased;
386
387#[derive(Clone, Copy, Debug, PartialEq, Eq)]
389pub struct ContextMenu;
390
391#[derive(Clone, Copy, Debug, PartialEq, Eq)]
393pub struct Continue;
394
395#[derive(Clone, Copy, Debug, PartialEq, Eq)]
397pub struct Control;
398
399#[derive(Clone, Copy, Debug, PartialEq, Eq)]
401pub struct Copy;
402
403#[derive(Clone, Copy, Debug, PartialEq, Eq)]
405pub struct Critical;
406
407#[derive(Clone, Copy, Debug, PartialEq, Eq)]
409pub struct Custom;
410
411#[derive(Clone, Copy, Debug, PartialEq, Eq)]
413pub struct Cyan;
414
415#[derive(Clone, Copy, Debug, PartialEq, Eq)]
417pub struct Dark;
418
419#[derive(Clone, Copy, Debug, PartialEq, Eq)]
421pub struct Dash;
422
423#[derive(Clone, Copy, Debug, PartialEq, Eq)]
425pub struct DashDot;
426
427#[derive(Clone, Copy, Debug, PartialEq, Eq)]
429pub struct DashDotDot;
430
431#[derive(Clone, Copy, Debug, PartialEq, Eq)]
433pub struct Date;
434
435#[derive(Clone, Copy, Debug, PartialEq, Eq)]
437pub struct DecimalPad;
438
439#[derive(Clone, Copy, Debug, PartialEq, Eq)]
441pub struct Decimals;
442
443#[derive(Clone, Copy, Debug, PartialEq, Eq)]
445pub struct Decrease;
446
447#[derive(Clone, Copy, Debug, PartialEq, Eq)]
449pub struct Decreased;
450
451#[derive(Clone, Copy, Debug, PartialEq, Eq)]
453pub struct Default;
454
455#[derive(Clone, Copy, Debug, PartialEq, Eq)]
457pub struct DefaultAction;
458
459#[derive(Clone, Copy, Debug, PartialEq, Eq)]
461pub struct DefaultDatePickerStyle;
462
463#[derive(Clone, Copy, Debug, PartialEq, Eq)]
465pub struct DefaultGaugeStyle;
466
467#[derive(Clone, Copy, Debug, PartialEq, Eq)]
469pub struct DefaultGroupBoxStyle;
470
471#[derive(Clone, Copy, Debug, PartialEq, Eq)]
473pub struct DefaultLabelStyle;
474
475#[derive(Clone, Copy, Debug, PartialEq, Eq)]
477pub struct DefaultListStyle;
478
479#[derive(Clone, Copy, Debug, PartialEq, Eq)]
481pub struct DefaultMenuButtonStyle;
482
483#[derive(Clone, Copy, Debug, PartialEq, Eq)]
485pub struct DefaultMenuStyle;
486
487#[derive(Clone, Copy, Debug, PartialEq, Eq)]
489pub struct DefaultPickerStyle;
490
491#[derive(Clone, Copy, Debug, PartialEq, Eq)]
493pub struct DefaultTextFieldStyle;
494
495#[derive(Clone, Copy, Debug, PartialEq, Eq)]
497pub struct DefaultToggleStyle;
498
499#[derive(Clone, Copy, Debug, PartialEq, Eq)]
501pub struct DefaultWindowStyle;
502
503#[derive(Clone, Copy, Debug, PartialEq, Eq)]
505pub struct DefaultWindowToolbarStyle;
506
507#[derive(Clone, Copy, Debug, PartialEq, Eq)]
509pub struct Delete;
510
511#[derive(Clone, Copy, Debug, PartialEq, Eq)]
513pub struct DeleteForward;
514
515#[derive(Clone, Copy, Debug, PartialEq, Eq)]
517pub struct Destructive;
518
519#[derive(Clone, Copy, Debug, PartialEq, Eq)]
521pub struct DestructiveAction;
522
523#[derive(Clone, Copy, Debug, PartialEq, Eq)]
525pub struct Device;
526
527#[derive(Clone, Copy, Debug, PartialEq, Eq)]
529pub struct DidDisappear;
530
531#[derive(Clone, Copy, Debug, PartialEq, Eq)]
533pub struct Disabled;
534
535#[derive(Clone, Copy, Debug, PartialEq, Eq)]
537pub struct DisabledTextSelectability;
538
539#[derive(Clone, Copy, Debug, PartialEq, Eq)]
541pub struct Done;
542
543#[derive(Clone, Copy, Debug, PartialEq, Eq)]
545pub struct Dot;
546
547#[derive(Clone, Copy, Debug, PartialEq, Eq)]
549pub struct Down;
550
551#[derive(Clone, Copy, Debug, PartialEq, Eq)]
553pub struct DownArrow;
554
555#[derive(Clone, Copy, Debug, PartialEq, Eq)]
557pub struct Downstream;
558
559#[derive(Clone, Copy, Debug, PartialEq, Eq)]
561pub struct Draw;
562
563#[derive(Clone, Copy, Debug, PartialEq, Eq)]
565pub struct EaseIn;
566
567#[derive(Clone, Copy, Debug, PartialEq, Eq)]
569pub struct EaseInOut;
570
571#[derive(Clone, Copy, Debug, PartialEq, Eq)]
573pub struct EaseOut;
574
575#[derive(Clone, Copy, Debug, PartialEq, Eq)]
577pub struct Edit;
578
579#[derive(Clone, Copy, Debug, PartialEq, Eq)]
581pub struct Editor;
582
583#[derive(Clone, Copy, Debug, PartialEq, Eq)]
585pub struct Ellipse;
586
587#[derive(Clone, Copy, Debug, PartialEq, Eq)]
589pub struct EmailAddress;
590
591#[derive(Clone, Copy, Debug, PartialEq, Eq)]
593pub struct Enabled;
594
595#[derive(Clone, Copy, Debug, PartialEq, Eq)]
597pub struct EnabledTextSelectability;
598
599#[derive(Clone, Copy, Debug, PartialEq, Eq)]
601pub struct End;
602
603#[derive(Clone, Copy, Debug, PartialEq, Eq)]
605pub struct Ended;
606
607#[derive(Clone, Copy, Debug, PartialEq, Eq)]
609pub struct EnumeratePackages;
610
611#[derive(Clone, Copy, Debug, PartialEq, Eq)]
613pub struct Erased;
614
615#[derive(Clone, Copy, Debug, PartialEq, Eq)]
617pub struct Error;
618
619#[derive(Clone, Copy, Debug, PartialEq, Eq)]
621pub struct Escape;
622
623#[derive(Clone, Copy, Debug, PartialEq, Eq)]
625pub struct Expanded;
626
627#[derive(Clone, Copy, Debug, PartialEq, Eq)]
629pub struct ExpandedWindowToolbarStyle;
630
631#[derive(Clone, Copy, Debug, PartialEq, Eq)]
633pub struct ExtraLarge;
634
635#[derive(Clone, Copy, Debug, PartialEq, Eq)]
637pub struct FieldDatePickerStyle;
638
639#[derive(Clone, Copy, Debug, PartialEq, Eq)]
641pub struct FileSystem;
642
643#[derive(Clone, Copy, Debug, PartialEq, Eq)]
645pub struct Fill;
646
647#[derive(Clone, Copy, Debug, PartialEq, Eq)]
649pub struct FirstTextBaseline;
650
651#[derive(Clone, Copy, Debug, PartialEq, Eq)]
653pub struct Fit;
654
655#[derive(Clone, Copy, Debug, PartialEq, Eq)]
657pub struct Fitted;
658
659#[derive(Clone, Copy, Debug, PartialEq, Eq)]
661pub struct Fixed;
662
663#[derive(Clone, Copy, Debug, PartialEq, Eq)]
665pub struct Flat;
666
667#[derive(Clone, Copy, Debug, PartialEq, Eq)]
669pub struct Flexible;
670
671#[derive(Clone, Copy, Debug, PartialEq, Eq)]
673pub struct FontPanel;
674
675#[derive(Clone, Copy, Debug, PartialEq, Eq)]
677pub struct Footnote;
678
679#[derive(Clone, Copy, Debug, PartialEq, Eq)]
681pub struct Forbidden;
682
683#[derive(Clone, Copy, Debug, PartialEq, Eq)]
685pub struct ForegroundStyle;
686
687#[derive(Clone, Copy, Debug, PartialEq, Eq)]
689pub struct Frame;
690
691#[derive(Clone, Copy, Debug, PartialEq, Eq)]
693pub struct FullScreenCover;
694
695#[derive(Clone, Copy, Debug, PartialEq, Eq)]
697pub struct Function;
698
699#[derive(Clone, Copy, Debug, PartialEq, Eq)]
701pub struct Gesture;
702
703#[derive(Clone, Copy, Debug, PartialEq, Eq)]
705pub struct Glass;
706
707#[derive(Clone, Copy, Debug, PartialEq, Eq)]
709pub struct Global;
710
711#[derive(Clone, Copy, Debug, PartialEq, Eq)]
713pub struct Go;
714
715#[derive(Clone, Copy, Debug, PartialEq, Eq)]
717pub struct GrabActive;
718
719#[derive(Clone, Copy, Debug, PartialEq, Eq)]
721pub struct GrabIdle;
722
723#[derive(Clone, Copy, Debug, PartialEq, Eq)]
725pub struct Gradient;
726
727#[derive(Clone, Copy, Debug, PartialEq, Eq)]
729pub struct GraphicalDatePickerStyle;
730
731#[derive(Clone, Copy, Debug, PartialEq, Eq)]
733pub struct Gray;
734
735#[derive(Clone, Copy, Debug, PartialEq, Eq)]
737pub struct Green;
738
739#[derive(Clone, Copy, Debug, PartialEq, Eq)]
741pub struct Grouped;
742
743#[derive(Clone, Copy, Debug, PartialEq, Eq)]
745pub struct GroupedFormStyle;
746
747#[derive(Clone, Copy, Debug, PartialEq, Eq)]
749pub struct H;
750
751#[derive(Clone, Copy, Debug, PartialEq, Eq)]
753pub struct H1;
754
755#[derive(Clone, Copy, Debug, PartialEq, Eq)]
757pub struct H2;
758
759#[derive(Clone, Copy, Debug, PartialEq, Eq)]
761pub struct H3;
762
763#[derive(Clone, Copy, Debug, PartialEq, Eq)]
765pub struct H4;
766
767#[derive(Clone, Copy, Debug, PartialEq, Eq)]
769pub struct H5;
770
771#[derive(Clone, Copy, Debug, PartialEq, Eq)]
773pub struct H6;
774
775#[derive(Clone, Copy, Debug, PartialEq, Eq)]
777pub struct Handled;
778
779#[derive(Clone, Copy, Debug, PartialEq, Eq)]
781pub struct Hard;
782
783#[derive(Clone, Copy, Debug, PartialEq, Eq)]
785pub struct Head;
786
787#[derive(Clone, Copy, Debug, PartialEq, Eq)]
789pub struct Headline;
790
791#[derive(Clone, Copy, Debug, PartialEq, Eq)]
793pub struct Heavy;
794
795#[derive(Clone, Copy, Debug, PartialEq, Eq)]
797pub struct Hidden;
798
799#[derive(Clone, Copy, Debug, PartialEq, Eq)]
801pub struct HiddenTitleBarWindowStyle;
802
803#[derive(Clone, Copy, Debug, PartialEq, Eq)]
805pub struct Hierarchical;
806
807#[derive(Clone, Copy, Debug, PartialEq, Eq)]
809pub struct High;
810
811#[derive(Clone, Copy, Debug, PartialEq, Eq)]
813pub struct Highlight;
814
815#[derive(Clone, Copy, Debug, PartialEq, Eq)]
817pub struct Home;
818
819#[derive(Clone, Copy, Debug, PartialEq, Eq)]
821pub struct Horizontal;
822
823#[derive(Clone, Copy, Debug, PartialEq, Eq)]
825pub struct HorizontalText;
826
827#[derive(Clone, Copy, Debug, PartialEq, Eq)]
829pub struct HourAndMinute;
830
831#[derive(Clone, Copy, Debug, PartialEq, Eq)]
833pub struct IconOnlyLabelStyle;
834
835#[derive(Clone, Copy, Debug, PartialEq, Eq)]
837pub struct Identity;
838
839#[derive(Clone, Copy, Debug, PartialEq, Eq)]
841pub struct Ignore;
842
843#[derive(Clone, Copy, Debug, PartialEq, Eq)]
845pub struct Ignored;
846
847#[derive(Clone, Copy, Debug, PartialEq, Eq)]
849pub struct Immediately;
850
851#[derive(Clone, Copy, Debug, PartialEq, Eq)]
853pub struct Impact;
854
855#[derive(Clone, Copy, Debug, PartialEq, Eq)]
857pub struct Inactive;
858
859#[derive(Clone, Copy, Debug, PartialEq, Eq)]
861pub struct IncludeHiddenFiles;
862
863#[derive(Clone, Copy, Debug, PartialEq, Eq)]
865pub struct Increase;
866
867#[derive(Clone, Copy, Debug, PartialEq, Eq)]
869pub struct Increased;
870
871#[derive(Clone, Copy, Debug, PartialEq, Eq)]
873pub struct Indigo;
874
875#[derive(Clone, Copy, Debug, PartialEq, Eq)]
877pub struct InitialOffset;
878
879#[derive(Clone, Copy, Debug, PartialEq, Eq)]
881pub struct Inline;
882
883#[derive(Clone, Copy, Debug, PartialEq, Eq)]
885pub struct InlineLarge;
886
887#[derive(Clone, Copy, Debug, PartialEq, Eq)]
889pub struct InlinePickerStyle;
890
891#[derive(Clone, Copy, Debug, PartialEq, Eq)]
893pub struct InputAssistant;
894
895#[derive(Clone, Copy, Debug, PartialEq, Eq)]
897pub struct InsetListStyle;
898
899#[derive(Clone, Copy, Debug, PartialEq, Eq)]
901pub struct InsetTableStyle;
902
903#[derive(Clone, Copy, Debug, PartialEq, Eq)]
905pub struct Int;
906
907#[derive(Clone, Copy, Debug, PartialEq, Eq)]
909pub struct Interactive;
910
911#[derive(Clone, Copy, Debug, PartialEq, Eq)]
913pub struct Interactively;
914
915#[derive(Clone, Copy, Debug, PartialEq, Eq)]
917pub struct Interpolate;
918
919#[derive(Clone, Copy, Debug, PartialEq, Eq)]
921pub struct Invalidated;
922
923#[derive(Clone, Copy, Debug, PartialEq, Eq)]
925pub struct IsBackButton;
926
927#[derive(Clone, Copy, Debug, PartialEq, Eq)]
929pub struct IsButton;
930
931#[derive(Clone, Copy, Debug, PartialEq, Eq)]
933pub struct IsHeader;
934
935#[derive(Clone, Copy, Debug, PartialEq, Eq)]
937pub struct IsImage;
938
939#[derive(Clone, Copy, Debug, PartialEq, Eq)]
941pub struct IsKeyboardKey;
942
943#[derive(Clone, Copy, Debug, PartialEq, Eq)]
945pub struct IsLink;
946
947#[derive(Clone, Copy, Debug, PartialEq, Eq)]
949pub struct IsMathEquation;
950
951#[derive(Clone, Copy, Debug, PartialEq, Eq)]
953pub struct IsModal;
954
955#[derive(Clone, Copy, Debug, PartialEq, Eq)]
957pub struct IsSearchField;
958
959#[derive(Clone, Copy, Debug, PartialEq, Eq)]
961pub struct IsSelected;
962
963#[derive(Clone, Copy, Debug, PartialEq, Eq)]
965pub struct IsStaticText;
966
967#[derive(Clone, Copy, Debug, PartialEq, Eq)]
969pub struct IsSummaryElement;
970
971#[derive(Clone, Copy, Debug, PartialEq, Eq)]
973pub struct IsSwitch;
974
975#[derive(Clone, Copy, Debug, PartialEq, Eq)]
977pub struct IsTabBar;
978
979#[derive(Clone, Copy, Debug, PartialEq, Eq)]
981pub struct IsTabButton;
982
983#[derive(Clone, Copy, Debug, PartialEq, Eq)]
985pub struct IsToggle;
986
987#[derive(Clone, Copy, Debug, PartialEq, Eq)]
989pub struct Join;
990
991#[derive(Clone, Copy, Debug, PartialEq, Eq)]
993pub struct Keyboard;
994
995#[derive(Clone, Copy, Debug, PartialEq, Eq)]
997pub struct Label;
998
999#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1001pub struct LandscapeLeft;
1002
1003#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1005pub struct LandscapeRight;
1006
1007#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1009pub struct Large;
1010
1011#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1013pub struct LargeTitle;
1014
1015#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1017pub struct LastTextBaseline;
1018
1019#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1021pub struct LayoutBased;
1022
1023#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1025pub struct Leading;
1026
1027#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1029pub struct LeftArrow;
1030
1031#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1033pub struct LeftToRight;
1034
1035#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1037pub struct Letters;
1038
1039#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1041pub struct LevelChange;
1042
1043#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1045pub struct Lift;
1046
1047#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1049pub struct Light;
1050
1051#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1053pub struct Limited;
1054
1055#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1057pub struct Linear;
1058
1059#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1061pub struct LinearCapacityGaugeStyle;
1062
1063#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1065pub struct Link;
1066
1067#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1069pub struct LinkShapeStyle;
1070
1071#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1073pub struct List;
1074
1075#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1077pub struct ListRowSeparatorLeading;
1078
1079#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1081pub struct ListRowSeparatorTrailing;
1082
1083#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1085pub struct Local;
1086
1087#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1089pub struct Loose;
1090
1091#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1093pub struct Low;
1094
1095#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1097pub struct Lowercase;
1098
1099#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1101pub struct MagicTap;
1102
1103#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1105pub struct MatchWindow;
1106
1107#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1109pub struct MatchedGeometry;
1110
1111#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1113pub struct Materialize;
1114
1115#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1117pub struct Medium;
1118
1119#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1121pub struct Menu;
1122
1123#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1125pub struct MenuControlGroupStyle;
1126
1127#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1129pub struct MenuPickerStyle;
1130
1131#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1133pub struct Messaging;
1134
1135#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1137pub struct Middle;
1138
1139#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1141pub struct Mini;
1142
1143#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1145pub struct Minimum;
1146
1147#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1149pub struct Mint;
1150
1151#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1153pub struct Mirrors;
1154
1155#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1157pub struct Monochrome;
1158
1159#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1161pub struct Monospaced;
1162
1163#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1165pub struct Move;
1166
1167#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1169pub struct Multicolor;
1170
1171#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1173pub struct NamePhonePad;
1174
1175#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1177pub struct Narrative;
1178
1179#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1181pub struct Navigation;
1182
1183#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1185pub struct NavigationBar;
1186
1187#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1189pub struct NavigationBarDrawer;
1190
1191#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1193pub struct NavigationColumn;
1194
1195#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1197pub struct NavigationControlGroupStyle;
1198
1199#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1201pub struct NavigationSplitView;
1202
1203#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1205pub struct Never;
1206
1207#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1209pub struct Next;
1210
1211#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1213pub struct None;
1214
1215#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1217pub struct Normal;
1218
1219#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1221pub struct NumberPad;
1222
1223#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1225pub struct NumbersAndPunctuation;
1226
1227#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1229pub struct NumericPad;
1230
1231#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1233pub struct OnHover;
1234
1235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1237pub struct OneTimeCode;
1238
1239#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1241pub struct Opacity;
1242
1243#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1245pub struct Option;
1246
1247#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1249pub struct Optional;
1250
1251#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1253pub struct Orange;
1254
1255#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1257pub struct Original;
1258
1259#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1261pub struct PageDown;
1262
1263#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1265pub struct PageUp;
1266
1267#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1269pub struct PagingScrollTargetBehavior;
1270
1271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1273pub struct Palette;
1274
1275#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1277pub struct PaletteControlGroupStyle;
1278
1279#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1281pub struct PalettePickerStyle;
1282
1283#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1285pub struct Password;
1286
1287#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1289pub struct PathComplete;
1290
1291#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1293pub struct Perceptual;
1294
1295#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1297pub struct PhonePad;
1298
1299#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1301pub struct Pile;
1302
1303#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1305pub struct Pink;
1306
1307#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1309pub struct Placeholder;
1310
1311#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1313pub struct Plain;
1314
1315#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1317pub struct PlainListStyle;
1318
1319#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1321pub struct PlainText;
1322
1323#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1325pub struct PlainTextEditorStyle;
1326
1327#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1329pub struct PlainTextFieldStyle;
1330
1331#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1333pub struct PlainWindowStyle;
1334
1335#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1337pub struct PlaysSound;
1338
1339#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1341pub struct PopUpButtonPickerStyle;
1342
1343#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1345pub struct Popover;
1346
1347#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1349pub struct Portrait;
1350
1351#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1353pub struct PortraitUpsideDown;
1354
1355#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1357pub struct Position;
1358
1359#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1361pub struct Presentation;
1362
1363#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1365pub struct Primary;
1366
1367#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1369pub struct PrimaryAction;
1370
1371#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1373pub struct Principal;
1374
1375#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1377pub struct Privacy;
1378
1379#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1381pub struct ProminentDetail;
1382
1383#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1385pub struct PullDownMenuButtonStyle;
1386
1387#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1389pub struct Pulse;
1390
1391#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1393pub struct Purple;
1394
1395#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1397pub struct Quaternary;
1398
1399#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1401pub struct Quinary;
1402
1403#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1405pub struct RadioGroupPickerStyle;
1406
1407#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1409pub struct RectSelection;
1410
1411#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1413pub struct Rectangle;
1414
1415#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1417pub struct Red;
1418
1419#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1421pub struct Regular;
1422
1423#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1425pub struct Repeat;
1426
1427#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1429pub struct Required;
1430
1431#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1433pub struct RequiresActivation;
1434
1435#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1437pub struct Resizes;
1438
1439#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1441pub struct Return;
1442
1443#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1445pub struct RightArrow;
1446
1447#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1449pub struct RightToLeft;
1450
1451#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1453pub struct Rotate;
1454
1455#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1457pub struct Rounded;
1458
1459#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1461pub struct RoundedBorderTextFieldStyle;
1462
1463#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1465pub struct RoundedRectangle;
1466
1467#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1469pub struct Route;
1470
1471#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1473pub struct RowResize;
1474
1475#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1477pub struct ScrollIndicators;
1478
1479#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1481pub struct Scrolls;
1482
1483#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1485pub struct Search;
1486
1487#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1489pub struct SearchTabSelection;
1490
1491#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1493pub struct Secondary;
1494
1495#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1497pub struct SecondaryAction;
1498
1499#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1501pub struct SegmentedPickerStyle;
1502
1503#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1505pub struct Selection;
1506
1507#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1509pub struct SelectionShapeStyle;
1510
1511#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1513pub struct Semibold;
1514
1515#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1517pub struct Send;
1518
1519#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1521pub struct Sentences;
1522
1523#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1525pub struct SeparatorShapeStyle;
1526
1527#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1529pub struct Serif;
1530
1531#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1533pub struct Sheet;
1534
1535#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1537pub struct Shift;
1538
1539#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1541pub struct ShowMenu;
1542
1543#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1545pub struct Sidebar;
1546
1547#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1549pub struct SidebarAdaptable;
1550
1551#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1553pub struct SidebarListStyle;
1554
1555#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1557pub struct SignIn;
1558
1559#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1561pub struct SignUp;
1562
1563#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1565pub struct SilentOnTouch;
1566
1567#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1569pub struct Size;
1570
1571#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1573pub struct SizeChanges;
1574
1575#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1577pub struct SizeThatFits;
1578
1579#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1581pub struct Slash;
1582
1583#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1585pub struct Small;
1586
1587#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1589pub struct Soft;
1590
1591#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1593pub struct Solid;
1594
1595#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1597pub struct SourceCode;
1598
1599#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1601pub struct Space;
1602
1603#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1605pub struct Spreadsheet;
1606
1607#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1609pub struct Square;
1610
1611#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1613pub struct SquareBorderTextFieldStyle;
1614
1615#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1617pub struct Stack;
1618
1619#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1621pub struct Standard;
1622
1623#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1625pub struct Start;
1626
1627#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1629pub struct StartsMediaSession;
1630
1631#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1633pub struct Status;
1634
1635#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1637pub struct StepperFieldDatePickerStyle;
1638
1639#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1641pub struct Stop;
1642
1643#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1645pub struct Str;
1646
1647#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1649pub struct Stretch;
1650
1651#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1653pub struct Subheadline;
1654
1655#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1657pub struct Subviews;
1658
1659#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1661pub struct Success;
1662
1663#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1665pub struct SwitchToggleStyle;
1666
1667#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1669pub struct Tab;
1670
1671#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1673pub struct TabBar;
1674
1675#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1677pub struct TabBarOnly;
1678
1679#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1681pub struct TabViewAccessory;
1682
1683#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1685pub struct TabViewSidebar;
1686
1687#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1689pub struct Tail;
1690
1691#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1693pub struct Teal;
1694
1695#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1697pub struct Template;
1698
1699#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1701pub struct Tertiary;
1702
1703#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1705pub struct Text;
1706
1707#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1709pub struct Thick;
1710
1711#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1713pub struct Thin;
1714
1715#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1717pub struct Tight;
1718
1719#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1721pub struct Tile;
1722
1723#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1725pub struct TintShapeStyle;
1726
1727#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1729pub struct Title;
1730
1731#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1733pub struct Title2;
1734
1735#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1737pub struct Title3;
1738
1739#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1741pub struct TitleAndIconLabelStyle;
1742
1743#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1745pub struct TitleBarWindowStyle;
1746
1747#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1749pub struct TitleOnlyLabelStyle;
1750
1751#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1753pub struct Toolbar;
1754
1755#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1757pub struct ToolbarPrincipal;
1758
1759#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1761pub struct Top;
1762
1763#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1765pub struct TopLeading;
1766
1767#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1769pub struct TopTrailing;
1770
1771#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1773pub struct Trailing;
1774
1775#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1777pub struct Twitter;
1778
1779#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1781pub struct UltraLight;
1782
1783#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1785pub struct UltraThick;
1786
1787#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1789pub struct UltraThin;
1790
1791#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1793pub struct UnifiedCompactWindowToolbarStyle;
1794
1795#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1797pub struct UnifiedWindowToolbarStyle;
1798
1799#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1801pub struct Unspecified;
1802
1803#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1805pub struct Up;
1806
1807#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1809pub struct UpArrow;
1810
1811#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1813pub struct UpdatesFrequently;
1814
1815#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1817pub struct Uppercase;
1818
1819#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1821pub struct Upstream;
1822
1823#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1825pub struct Url;
1826
1827#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1829pub struct UserInitiated;
1830
1831#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1833pub struct Username;
1834
1835#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1837pub struct Utility;
1838
1839#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1841pub struct V;
1842
1843#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1845pub struct Variable;
1846
1847#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1849pub struct VariableColor;
1850
1851#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1853pub struct Vertical;
1854
1855#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1857pub struct VerticalText;
1858
1859#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1861pub struct Visible;
1862
1863#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1865pub struct Warning;
1866
1867#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1869pub struct WebSearch;
1870
1871#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1873pub struct White;
1874
1875#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1877pub struct WhiteOutline;
1878
1879#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1881pub struct Whitespaces;
1882
1883#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1885pub struct Wiggle;
1886
1887#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1889pub struct WillAppear;
1890
1891#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1893pub struct Window;
1894
1895#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1897pub struct WindowBackgroundShapeStyle;
1898
1899#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1901pub struct WindowToolbar;
1902
1903#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1905pub struct WordProcessing;
1906
1907#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1909pub struct Words;
1910
1911#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1913pub struct XLarge;
1914
1915#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1917pub struct XSmall;
1918
1919#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1921pub struct XxLarge;
1922
1923#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1925pub struct XxxLarge;
1926
1927#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1929pub struct Yellow;
1930
1931#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1933pub struct Z;
1934
1935#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1937pub struct ZoomIn;
1938
1939#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1941pub struct ZoomOut;
1942
1943impl From<Accent> for crate::views::SystemColor {
1946 fn from(_: Accent) -> Self {
1947 Self::Accent
1948 }
1949}
1950
1951impl From<Accent> for ::core::option::Option<crate::views::SystemColor> {
1952 fn from(_: Accent) -> Self {
1953 ::core::option::Option::Some(crate::views::SystemColor::Accent)
1954 }
1955}
1956
1957impl From<Accessibility1> for crate::views::DynamicTypeSize {
1958 fn from(_: Accessibility1) -> Self {
1959 Self::Accessibility1
1960 }
1961}
1962
1963impl From<Accessibility1> for ::core::option::Option<crate::views::DynamicTypeSize> {
1964 fn from(_: Accessibility1) -> Self {
1965 ::core::option::Option::Some(crate::views::DynamicTypeSize::Accessibility1)
1966 }
1967}
1968
1969impl From<Accessibility2> for crate::views::DynamicTypeSize {
1970 fn from(_: Accessibility2) -> Self {
1971 Self::Accessibility2
1972 }
1973}
1974
1975impl From<Accessibility2> for ::core::option::Option<crate::views::DynamicTypeSize> {
1976 fn from(_: Accessibility2) -> Self {
1977 ::core::option::Option::Some(crate::views::DynamicTypeSize::Accessibility2)
1978 }
1979}
1980
1981impl From<Accessibility3> for crate::views::DynamicTypeSize {
1982 fn from(_: Accessibility3) -> Self {
1983 Self::Accessibility3
1984 }
1985}
1986
1987impl From<Accessibility3> for ::core::option::Option<crate::views::DynamicTypeSize> {
1988 fn from(_: Accessibility3) -> Self {
1989 ::core::option::Option::Some(crate::views::DynamicTypeSize::Accessibility3)
1990 }
1991}
1992
1993impl From<Accessibility4> for crate::views::DynamicTypeSize {
1994 fn from(_: Accessibility4) -> Self {
1995 Self::Accessibility4
1996 }
1997}
1998
1999impl From<Accessibility4> for ::core::option::Option<crate::views::DynamicTypeSize> {
2000 fn from(_: Accessibility4) -> Self {
2001 ::core::option::Option::Some(crate::views::DynamicTypeSize::Accessibility4)
2002 }
2003}
2004
2005impl From<Accessibility5> for crate::views::DynamicTypeSize {
2006 fn from(_: Accessibility5) -> Self {
2007 Self::Accessibility5
2008 }
2009}
2010
2011impl From<Accessibility5> for ::core::option::Option<crate::views::DynamicTypeSize> {
2012 fn from(_: Accessibility5) -> Self {
2013 ::core::option::Option::Some(crate::views::DynamicTypeSize::Accessibility5)
2014 }
2015}
2016
2017impl From<AccessoryBar> for crate::views::TextInputFormattingControlPlacementSet {
2018 fn from(_: AccessoryBar) -> Self {
2019 Self::AccessoryBar
2020 }
2021}
2022
2023impl From<AccessoryBar> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
2024 fn from(_: AccessoryBar) -> Self {
2025 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::AccessoryBar)
2026 }
2027}
2028
2029impl From<AccessoryCircularCapacityGaugeStyle> for crate::views::GaugeStyle {
2030 fn from(_: AccessoryCircularCapacityGaugeStyle) -> Self {
2031 Self::AccessoryCircularCapacityGaugeStyle
2032 }
2033}
2034
2035impl From<AccessoryCircularCapacityGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
2036 fn from(_: AccessoryCircularCapacityGaugeStyle) -> Self {
2037 ::core::option::Option::Some(crate::views::GaugeStyle::AccessoryCircularCapacityGaugeStyle)
2038 }
2039}
2040
2041impl From<AccessoryCircularGaugeStyle> for crate::views::GaugeStyle {
2042 fn from(_: AccessoryCircularGaugeStyle) -> Self {
2043 Self::AccessoryCircularGaugeStyle
2044 }
2045}
2046
2047impl From<AccessoryCircularGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
2048 fn from(_: AccessoryCircularGaugeStyle) -> Self {
2049 ::core::option::Option::Some(crate::views::GaugeStyle::AccessoryCircularGaugeStyle)
2050 }
2051}
2052
2053impl From<AccessoryLinearCapacityGaugeStyle> for crate::views::GaugeStyle {
2054 fn from(_: AccessoryLinearCapacityGaugeStyle) -> Self {
2055 Self::AccessoryLinearCapacityGaugeStyle
2056 }
2057}
2058
2059impl From<AccessoryLinearCapacityGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
2060 fn from(_: AccessoryLinearCapacityGaugeStyle) -> Self {
2061 ::core::option::Option::Some(crate::views::GaugeStyle::AccessoryLinearCapacityGaugeStyle)
2062 }
2063}
2064
2065impl From<AccessoryLinearGaugeStyle> for crate::views::GaugeStyle {
2066 fn from(_: AccessoryLinearGaugeStyle) -> Self {
2067 Self::AccessoryLinearGaugeStyle
2068 }
2069}
2070
2071impl From<AccessoryLinearGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
2072 fn from(_: AccessoryLinearGaugeStyle) -> Self {
2073 ::core::option::Option::Some(crate::views::GaugeStyle::AccessoryLinearGaugeStyle)
2074 }
2075}
2076
2077impl From<Active> for crate::views::HoverPhase {
2078 fn from(_: Active) -> Self {
2079 Self::Active
2080 }
2081}
2082
2083impl From<Active> for ::core::option::Option<crate::views::HoverPhase> {
2084 fn from(_: Active) -> Self {
2085 ::core::option::Option::Some(crate::views::HoverPhase::Active)
2086 }
2087}
2088
2089impl From<Active> for crate::views::MaterialActiveAppearance {
2090 fn from(_: Active) -> Self {
2091 Self::Active
2092 }
2093}
2094
2095impl From<Active> for ::core::option::Option<crate::views::MaterialActiveAppearance> {
2096 fn from(_: Active) -> Self {
2097 ::core::option::Option::Some(crate::views::MaterialActiveAppearance::Active)
2098 }
2099}
2100
2101impl From<Alignment> for crate::views::ScrollAnchorRole {
2102 fn from(_: Alignment) -> Self {
2103 Self::Alignment
2104 }
2105}
2106
2107impl From<Alignment> for ::core::option::Option<crate::views::ScrollAnchorRole> {
2108 fn from(_: Alignment) -> Self {
2109 ::core::option::Option::Some(crate::views::ScrollAnchorRole::Alignment)
2110 }
2111}
2112
2113impl From<Alignment> for crate::views::SensoryFeedback {
2114 fn from(_: Alignment) -> Self {
2115 Self::Alignment
2116 }
2117}
2118
2119impl From<Alignment> for ::core::option::Option<crate::views::SensoryFeedback> {
2120 fn from(_: Alignment) -> Self {
2121 ::core::option::Option::Some(crate::views::SensoryFeedback::Alignment)
2122 }
2123}
2124
2125impl From<All> for crate::views::EdgeSet {
2126 fn from(_: All) -> Self {
2127 Self::All
2128 }
2129}
2130
2131impl From<All> for ::core::option::Option<crate::views::EdgeSet> {
2132 fn from(_: All) -> Self {
2133 ::core::option::Option::Some(crate::views::EdgeSet::All)
2134 }
2135}
2136
2137impl From<All> for crate::views::EdgeSetMember {
2138 fn from(_: All) -> Self {
2139 Self::All
2140 }
2141}
2142
2143impl From<All> for ::core::option::Option<crate::views::EdgeSetMember> {
2144 fn from(_: All) -> Self {
2145 ::core::option::Option::Some(crate::views::EdgeSetMember::All)
2146 }
2147}
2148
2149impl From<All> for crate::views::EventModifier {
2150 fn from(_: All) -> Self {
2151 Self::All
2152 }
2153}
2154
2155impl From<All> for ::core::option::Option<crate::views::EventModifier> {
2156 fn from(_: All) -> Self {
2157 ::core::option::Option::Some(crate::views::EventModifier::All)
2158 }
2159}
2160
2161impl From<All> for crate::views::GestureMask {
2162 fn from(_: All) -> Self {
2163 Self::All
2164 }
2165}
2166
2167impl From<All> for ::core::option::Option<crate::views::GestureMask> {
2168 fn from(_: All) -> Self {
2169 ::core::option::Option::Some(crate::views::GestureMask::All)
2170 }
2171}
2172
2173impl From<All> for crate::views::KeyPressPhases {
2174 fn from(_: All) -> Self {
2175 Self::All
2176 }
2177}
2178
2179impl From<All> for ::core::option::Option<crate::views::KeyPressPhases> {
2180 fn from(_: All) -> Self {
2181 ::core::option::Option::Some(crate::views::KeyPressPhases::All)
2182 }
2183}
2184
2185impl From<All> for crate::views::SafeAreaRegions {
2186 fn from(_: All) -> Self {
2187 Self::All
2188 }
2189}
2190
2191impl From<All> for ::core::option::Option<crate::views::SafeAreaRegions> {
2192 fn from(_: All) -> Self {
2193 ::core::option::Option::Some(crate::views::SafeAreaRegions::All)
2194 }
2195}
2196
2197impl From<All> for crate::views::TextInputFormattingControlPlacementSet {
2198 fn from(_: All) -> Self {
2199 Self::All
2200 }
2201}
2202
2203impl From<All> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
2204 fn from(_: All) -> Self {
2205 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::All)
2206 }
2207}
2208
2209impl From<All> for crate::views::VerticalEdgeSet {
2210 fn from(_: All) -> Self {
2211 Self::All
2212 }
2213}
2214
2215impl From<All> for ::core::option::Option<crate::views::VerticalEdgeSet> {
2216 fn from(_: All) -> Self {
2217 ::core::option::Option::Some(crate::views::VerticalEdgeSet::All)
2218 }
2219}
2220
2221#[cfg(not(target_os = "macos"))]
2222impl From<AllCharacters> for crate::views::Autocapitalization {
2223 fn from(_: AllCharacters) -> Self {
2224 Self::AllCharacters
2225 }
2226}
2227
2228#[cfg(not(target_os = "macos"))]
2229impl From<AllCharacters> for ::core::option::Option<crate::views::Autocapitalization> {
2230 fn from(_: AllCharacters) -> Self {
2231 ::core::option::Option::Some(crate::views::Autocapitalization::AllCharacters)
2232 }
2233}
2234
2235impl From<AllowsDirectInteraction> for crate::views::AccessibilityTrait {
2236 fn from(_: AllowsDirectInteraction) -> Self {
2237 Self::AllowsDirectInteraction
2238 }
2239}
2240
2241impl From<AllowsDirectInteraction> for ::core::option::Option<crate::views::AccessibilityTrait> {
2242 fn from(_: AllowsDirectInteraction) -> Self {
2243 ::core::option::Option::Some(crate::views::AccessibilityTrait::AllowsDirectInteraction)
2244 }
2245}
2246
2247impl From<Alphanumerics> for crate::views::CharacterSetKind {
2248 fn from(_: Alphanumerics) -> Self {
2249 Self::Alphanumerics
2250 }
2251}
2252
2253impl From<Alphanumerics> for ::core::option::Option<crate::views::CharacterSetKind> {
2254 fn from(_: Alphanumerics) -> Self {
2255 ::core::option::Option::Some(crate::views::CharacterSetKind::Alphanumerics)
2256 }
2257}
2258
2259#[cfg(not(target_os = "macos"))]
2260impl From<Always> for crate::views::IndexBackground {
2261 fn from(_: Always) -> Self {
2262 Self::Always
2263 }
2264}
2265
2266#[cfg(not(target_os = "macos"))]
2267impl From<Always> for ::core::option::Option<crate::views::IndexBackground> {
2268 fn from(_: Always) -> Self {
2269 ::core::option::Option::Some(crate::views::IndexBackground::Always)
2270 }
2271}
2272
2273impl From<Always> for crate::views::ScrollBounceBehavior {
2274 fn from(_: Always) -> Self {
2275 Self::Always
2276 }
2277}
2278
2279impl From<Always> for ::core::option::Option<crate::views::ScrollBounceBehavior> {
2280 fn from(_: Always) -> Self {
2281 ::core::option::Option::Some(crate::views::ScrollBounceBehavior::Always)
2282 }
2283}
2284
2285impl From<Animated> for crate::views::ScrollTransitionConfiguration {
2286 fn from(_: Animated) -> Self {
2287 Self::Animated
2288 }
2289}
2290
2291impl From<Animated> for ::core::option::Option<crate::views::ScrollTransitionConfiguration> {
2292 fn from(_: Animated) -> Self {
2293 ::core::option::Option::Some(crate::views::ScrollTransitionConfiguration::Animated)
2294 }
2295}
2296
2297#[cfg(not(target_os = "macos"))]
2298impl From<AsciiCapable> for crate::views::KeyboardType {
2299 fn from(_: AsciiCapable) -> Self {
2300 Self::AsciiCapable
2301 }
2302}
2303
2304#[cfg(not(target_os = "macos"))]
2305impl From<AsciiCapable> for ::core::option::Option<crate::views::KeyboardType> {
2306 fn from(_: AsciiCapable) -> Self {
2307 ::core::option::Option::Some(crate::views::KeyboardType::AsciiCapable)
2308 }
2309}
2310
2311#[cfg(not(target_os = "macos"))]
2312impl From<AsciiCapableNumberPad> for crate::views::KeyboardType {
2313 fn from(_: AsciiCapableNumberPad) -> Self {
2314 Self::AsciiCapableNumberPad
2315 }
2316}
2317
2318#[cfg(not(target_os = "macos"))]
2319impl From<AsciiCapableNumberPad> for ::core::option::Option<crate::views::KeyboardType> {
2320 fn from(_: AsciiCapableNumberPad) -> Self {
2321 ::core::option::Option::Some(crate::views::KeyboardType::AsciiCapableNumberPad)
2322 }
2323}
2324
2325impl From<Automatic> for crate::views::AlternatingRowBackgroundBehavior {
2326 fn from(_: Automatic) -> Self {
2327 Self::Automatic
2328 }
2329}
2330
2331impl From<Automatic> for ::core::option::Option<crate::views::AlternatingRowBackgroundBehavior> {
2332 fn from(_: Automatic) -> Self {
2333 ::core::option::Option::Some(crate::views::AlternatingRowBackgroundBehavior::Automatic)
2334 }
2335}
2336
2337impl From<Automatic> for crate::views::ButtonBorderShape {
2338 fn from(_: Automatic) -> Self {
2339 Self::Automatic
2340 }
2341}
2342
2343impl From<Automatic> for ::core::option::Option<crate::views::ButtonBorderShape> {
2344 fn from(_: Automatic) -> Self {
2345 ::core::option::Option::Some(crate::views::ButtonBorderShape::Automatic)
2346 }
2347}
2348
2349impl From<Automatic> for crate::views::ButtonRepeatBehavior {
2350 fn from(_: Automatic) -> Self {
2351 Self::Automatic
2352 }
2353}
2354
2355impl From<Automatic> for ::core::option::Option<crate::views::ButtonRepeatBehavior> {
2356 fn from(_: Automatic) -> Self {
2357 ::core::option::Option::Some(crate::views::ButtonRepeatBehavior::Automatic)
2358 }
2359}
2360
2361impl From<Automatic> for crate::views::ButtonSizing {
2362 fn from(_: Automatic) -> Self {
2363 Self::Automatic
2364 }
2365}
2366
2367impl From<Automatic> for ::core::option::Option<crate::views::ButtonSizing> {
2368 fn from(_: Automatic) -> Self {
2369 ::core::option::Option::Some(crate::views::ButtonSizing::Automatic)
2370 }
2371}
2372
2373impl From<Automatic> for crate::views::ContentMarginPlacement {
2374 fn from(_: Automatic) -> Self {
2375 Self::Automatic
2376 }
2377}
2378
2379impl From<Automatic> for ::core::option::Option<crate::views::ContentMarginPlacement> {
2380 fn from(_: Automatic) -> Self {
2381 ::core::option::Option::Some(crate::views::ContentMarginPlacement::Automatic)
2382 }
2383}
2384
2385impl From<Automatic> for crate::views::DefaultFocusPriority {
2386 fn from(_: Automatic) -> Self {
2387 Self::Automatic
2388 }
2389}
2390
2391impl From<Automatic> for ::core::option::Option<crate::views::DefaultFocusPriority> {
2392 fn from(_: Automatic) -> Self {
2393 ::core::option::Option::Some(crate::views::DefaultFocusPriority::Automatic)
2394 }
2395}
2396
2397impl From<Automatic> for crate::views::DialogSeverity {
2398 fn from(_: Automatic) -> Self {
2399 Self::Automatic
2400 }
2401}
2402
2403impl From<Automatic> for ::core::option::Option<crate::views::DialogSeverity> {
2404 fn from(_: Automatic) -> Self {
2405 ::core::option::Option::Some(crate::views::DialogSeverity::Automatic)
2406 }
2407}
2408
2409#[cfg(not(target_os = "macos"))]
2410impl From<Automatic> for crate::views::HoverEffect {
2411 fn from(_: Automatic) -> Self {
2412 Self::Automatic
2413 }
2414}
2415
2416#[cfg(not(target_os = "macos"))]
2417impl From<Automatic> for ::core::option::Option<crate::views::HoverEffect> {
2418 fn from(_: Automatic) -> Self {
2419 ::core::option::Option::Some(crate::views::HoverEffect::Automatic)
2420 }
2421}
2422
2423#[cfg(not(target_os = "macos"))]
2424impl From<Automatic> for crate::views::IndexBackground {
2425 fn from(_: Automatic) -> Self {
2426 Self::Automatic
2427 }
2428}
2429
2430#[cfg(not(target_os = "macos"))]
2431impl From<Automatic> for ::core::option::Option<crate::views::IndexBackground> {
2432 fn from(_: Automatic) -> Self {
2433 ::core::option::Option::Some(crate::views::IndexBackground::Automatic)
2434 }
2435}
2436
2437impl From<Automatic> for crate::views::MaterialActiveAppearance {
2438 fn from(_: Automatic) -> Self {
2439 Self::Automatic
2440 }
2441}
2442
2443impl From<Automatic> for ::core::option::Option<crate::views::MaterialActiveAppearance> {
2444 fn from(_: Automatic) -> Self {
2445 ::core::option::Option::Some(crate::views::MaterialActiveAppearance::Automatic)
2446 }
2447}
2448
2449impl From<Automatic> for crate::views::MenuActionDismissBehavior {
2450 fn from(_: Automatic) -> Self {
2451 Self::Automatic
2452 }
2453}
2454
2455impl From<Automatic> for ::core::option::Option<crate::views::MenuActionDismissBehavior> {
2456 fn from(_: Automatic) -> Self {
2457 ::core::option::Option::Some(crate::views::MenuActionDismissBehavior::Automatic)
2458 }
2459}
2460
2461impl From<Automatic> for crate::views::MenuOrder {
2462 fn from(_: Automatic) -> Self {
2463 Self::Automatic
2464 }
2465}
2466
2467impl From<Automatic> for ::core::option::Option<crate::views::MenuOrder> {
2468 fn from(_: Automatic) -> Self {
2469 ::core::option::Option::Some(crate::views::MenuOrder::Automatic)
2470 }
2471}
2472
2473impl From<Automatic> for crate::views::PaletteSelectionEffect {
2474 fn from(_: Automatic) -> Self {
2475 Self::Automatic
2476 }
2477}
2478
2479impl From<Automatic> for ::core::option::Option<crate::views::PaletteSelectionEffect> {
2480 fn from(_: Automatic) -> Self {
2481 ::core::option::Option::Some(crate::views::PaletteSelectionEffect::Automatic)
2482 }
2483}
2484
2485impl From<Automatic> for crate::views::PresentationAdaptation {
2486 fn from(_: Automatic) -> Self {
2487 Self::Automatic
2488 }
2489}
2490
2491impl From<Automatic> for ::core::option::Option<crate::views::PresentationAdaptation> {
2492 fn from(_: Automatic) -> Self {
2493 ::core::option::Option::Some(crate::views::PresentationAdaptation::Automatic)
2494 }
2495}
2496
2497impl From<Automatic> for crate::views::PresentationBackgroundInteraction {
2498 fn from(_: Automatic) -> Self {
2499 Self::Automatic
2500 }
2501}
2502
2503impl From<Automatic> for ::core::option::Option<crate::views::PresentationBackgroundInteraction> {
2504 fn from(_: Automatic) -> Self {
2505 ::core::option::Option::Some(crate::views::PresentationBackgroundInteraction::Automatic)
2506 }
2507}
2508
2509impl From<Automatic> for crate::views::PresentationContentInteraction {
2510 fn from(_: Automatic) -> Self {
2511 Self::Automatic
2512 }
2513}
2514
2515impl From<Automatic> for ::core::option::Option<crate::views::PresentationContentInteraction> {
2516 fn from(_: Automatic) -> Self {
2517 ::core::option::Option::Some(crate::views::PresentationContentInteraction::Automatic)
2518 }
2519}
2520
2521impl From<Automatic> for crate::views::ProgressStyle {
2522 fn from(_: Automatic) -> Self {
2523 Self::Automatic
2524 }
2525}
2526
2527impl From<Automatic> for ::core::option::Option<crate::views::ProgressStyle> {
2528 fn from(_: Automatic) -> Self {
2529 ::core::option::Option::Some(crate::views::ProgressStyle::Automatic)
2530 }
2531}
2532
2533impl From<Automatic> for crate::views::ScrollBounceBehavior {
2534 fn from(_: Automatic) -> Self {
2535 Self::Automatic
2536 }
2537}
2538
2539impl From<Automatic> for ::core::option::Option<crate::views::ScrollBounceBehavior> {
2540 fn from(_: Automatic) -> Self {
2541 ::core::option::Option::Some(crate::views::ScrollBounceBehavior::Automatic)
2542 }
2543}
2544
2545impl From<Automatic> for crate::views::ScrollDismissesKeyboardMode {
2546 fn from(_: Automatic) -> Self {
2547 Self::Automatic
2548 }
2549}
2550
2551impl From<Automatic> for ::core::option::Option<crate::views::ScrollDismissesKeyboardMode> {
2552 fn from(_: Automatic) -> Self {
2553 ::core::option::Option::Some(crate::views::ScrollDismissesKeyboardMode::Automatic)
2554 }
2555}
2556
2557impl From<Automatic> for crate::views::ScrollEdgeEffectStyle {
2558 fn from(_: Automatic) -> Self {
2559 Self::Automatic
2560 }
2561}
2562
2563impl From<Automatic> for ::core::option::Option<crate::views::ScrollEdgeEffectStyle> {
2564 fn from(_: Automatic) -> Self {
2565 ::core::option::Option::Some(crate::views::ScrollEdgeEffectStyle::Automatic)
2566 }
2567}
2568
2569impl From<Automatic> for crate::views::ScrollIndicatorVisibility {
2570 fn from(_: Automatic) -> Self {
2571 Self::Automatic
2572 }
2573}
2574
2575impl From<Automatic> for ::core::option::Option<crate::views::ScrollIndicatorVisibility> {
2576 fn from(_: Automatic) -> Self {
2577 ::core::option::Option::Some(crate::views::ScrollIndicatorVisibility::Automatic)
2578 }
2579}
2580
2581impl From<Automatic> for crate::views::SearchFieldPlacement {
2582 fn from(_: Automatic) -> Self {
2583 Self::Automatic
2584 }
2585}
2586
2587impl From<Automatic> for ::core::option::Option<crate::views::SearchFieldPlacement> {
2588 fn from(_: Automatic) -> Self {
2589 ::core::option::Option::Some(crate::views::SearchFieldPlacement::Automatic)
2590 }
2591}
2592
2593impl From<Automatic> for crate::views::SearchPresentationToolbarBehavior {
2594 fn from(_: Automatic) -> Self {
2595 Self::Automatic
2596 }
2597}
2598
2599impl From<Automatic> for ::core::option::Option<crate::views::SearchPresentationToolbarBehavior> {
2600 fn from(_: Automatic) -> Self {
2601 ::core::option::Option::Some(crate::views::SearchPresentationToolbarBehavior::Automatic)
2602 }
2603}
2604
2605impl From<Automatic> for crate::views::SearchToolbarBehavior {
2606 fn from(_: Automatic) -> Self {
2607 Self::Automatic
2608 }
2609}
2610
2611impl From<Automatic> for ::core::option::Option<crate::views::SearchToolbarBehavior> {
2612 fn from(_: Automatic) -> Self {
2613 ::core::option::Option::Some(crate::views::SearchToolbarBehavior::Automatic)
2614 }
2615}
2616
2617impl From<Automatic> for crate::views::SplitViewStyle {
2618 fn from(_: Automatic) -> Self {
2619 Self::Automatic
2620 }
2621}
2622
2623impl From<Automatic> for ::core::option::Option<crate::views::SplitViewStyle> {
2624 fn from(_: Automatic) -> Self {
2625 ::core::option::Option::Some(crate::views::SplitViewStyle::Automatic)
2626 }
2627}
2628
2629impl From<Automatic> for crate::views::SpringLoadingBehavior {
2630 fn from(_: Automatic) -> Self {
2631 Self::Automatic
2632 }
2633}
2634
2635impl From<Automatic> for ::core::option::Option<crate::views::SpringLoadingBehavior> {
2636 fn from(_: Automatic) -> Self {
2637 ::core::option::Option::Some(crate::views::SpringLoadingBehavior::Automatic)
2638 }
2639}
2640
2641impl From<Automatic> for crate::views::TabBarMinimizeBehavior {
2642 fn from(_: Automatic) -> Self {
2643 Self::Automatic
2644 }
2645}
2646
2647impl From<Automatic> for ::core::option::Option<crate::views::TabBarMinimizeBehavior> {
2648 fn from(_: Automatic) -> Self {
2649 ::core::option::Option::Some(crate::views::TabBarMinimizeBehavior::Automatic)
2650 }
2651}
2652
2653impl From<Automatic> for crate::views::TabSearchActivation {
2654 fn from(_: Automatic) -> Self {
2655 Self::Automatic
2656 }
2657}
2658
2659impl From<Automatic> for ::core::option::Option<crate::views::TabSearchActivation> {
2660 fn from(_: Automatic) -> Self {
2661 ::core::option::Option::Some(crate::views::TabSearchActivation::Automatic)
2662 }
2663}
2664
2665impl From<Automatic> for crate::views::TabStyle {
2666 fn from(_: Automatic) -> Self {
2667 Self::Automatic
2668 }
2669}
2670
2671impl From<Automatic> for ::core::option::Option<crate::views::TabStyle> {
2672 fn from(_: Automatic) -> Self {
2673 ::core::option::Option::Some(crate::views::TabStyle::Automatic)
2674 }
2675}
2676
2677impl From<Automatic> for crate::views::TextSelectionAffinity {
2678 fn from(_: Automatic) -> Self {
2679 Self::Automatic
2680 }
2681}
2682
2683impl From<Automatic> for ::core::option::Option<crate::views::TextSelectionAffinity> {
2684 fn from(_: Automatic) -> Self {
2685 ::core::option::Option::Some(crate::views::TextSelectionAffinity::Automatic)
2686 }
2687}
2688
2689#[cfg(not(target_os = "macos"))]
2690impl From<Automatic> for crate::views::TitleDisplayMode {
2691 fn from(_: Automatic) -> Self {
2692 Self::Automatic
2693 }
2694}
2695
2696#[cfg(not(target_os = "macos"))]
2697impl From<Automatic> for ::core::option::Option<crate::views::TitleDisplayMode> {
2698 fn from(_: Automatic) -> Self {
2699 ::core::option::Option::Some(crate::views::TitleDisplayMode::Automatic)
2700 }
2701}
2702
2703impl From<Automatic> for crate::views::ToolbarItemPlacement {
2704 fn from(_: Automatic) -> Self {
2705 Self::Automatic
2706 }
2707}
2708
2709impl From<Automatic> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
2710 fn from(_: Automatic) -> Self {
2711 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::Automatic)
2712 }
2713}
2714
2715impl From<Automatic> for crate::views::ToolbarPlacement {
2716 fn from(_: Automatic) -> Self {
2717 Self::Automatic
2718 }
2719}
2720
2721impl From<Automatic> for ::core::option::Option<crate::views::ToolbarPlacement> {
2722 fn from(_: Automatic) -> Self {
2723 ::core::option::Option::Some(crate::views::ToolbarPlacement::Automatic)
2724 }
2725}
2726
2727impl From<Automatic> for crate::views::ToolbarRole {
2728 fn from(_: Automatic) -> Self {
2729 Self::Automatic
2730 }
2731}
2732
2733impl From<Automatic> for ::core::option::Option<crate::views::ToolbarRole> {
2734 fn from(_: Automatic) -> Self {
2735 ::core::option::Option::Some(crate::views::ToolbarRole::Automatic)
2736 }
2737}
2738
2739impl From<Automatic> for crate::views::ToolbarTitleDisplayMode {
2740 fn from(_: Automatic) -> Self {
2741 Self::Automatic
2742 }
2743}
2744
2745impl From<Automatic> for ::core::option::Option<crate::views::ToolbarTitleDisplayMode> {
2746 fn from(_: Automatic) -> Self {
2747 ::core::option::Option::Some(crate::views::ToolbarTitleDisplayMode::Automatic)
2748 }
2749}
2750
2751impl From<Automatic> for crate::views::TypesettingLanguage {
2752 fn from(_: Automatic) -> Self {
2753 Self::Automatic
2754 }
2755}
2756
2757impl From<Automatic> for ::core::option::Option<crate::views::TypesettingLanguage> {
2758 fn from(_: Automatic) -> Self {
2759 ::core::option::Option::Some(crate::views::TypesettingLanguage::Automatic)
2760 }
2761}
2762
2763impl From<Automatic> for crate::views::Visibility {
2764 fn from(_: Automatic) -> Self {
2765 Self::Automatic
2766 }
2767}
2768
2769impl From<Automatic> for ::core::option::Option<crate::views::Visibility> {
2770 fn from(_: Automatic) -> Self {
2771 ::core::option::Option::Some(crate::views::Visibility::Automatic)
2772 }
2773}
2774
2775impl From<Automatic> for crate::views::WindowInteractionBehavior {
2776 fn from(_: Automatic) -> Self {
2777 Self::Automatic
2778 }
2779}
2780
2781impl From<Automatic> for ::core::option::Option<crate::views::WindowInteractionBehavior> {
2782 fn from(_: Automatic) -> Self {
2783 ::core::option::Option::Some(crate::views::WindowInteractionBehavior::Automatic)
2784 }
2785}
2786
2787impl From<Automatic> for crate::views::WindowToolbarFullScreenVisibility {
2788 fn from(_: Automatic) -> Self {
2789 Self::Automatic
2790 }
2791}
2792
2793impl From<Automatic> for ::core::option::Option<crate::views::WindowToolbarFullScreenVisibility> {
2794 fn from(_: Automatic) -> Self {
2795 ::core::option::Option::Some(crate::views::WindowToolbarFullScreenVisibility::Automatic)
2796 }
2797}
2798
2799impl From<Automatic> for crate::views::WritingToolsBehavior {
2800 fn from(_: Automatic) -> Self {
2801 Self::Automatic
2802 }
2803}
2804
2805impl From<Automatic> for ::core::option::Option<crate::views::WritingToolsBehavior> {
2806 fn from(_: Automatic) -> Self {
2807 ::core::option::Option::Some(crate::views::WritingToolsBehavior::Automatic)
2808 }
2809}
2810
2811impl From<AutomaticControlGroupStyle> for crate::views::ControlGroupStyle {
2812 fn from(_: AutomaticControlGroupStyle) -> Self {
2813 Self::AutomaticControlGroupStyle
2814 }
2815}
2816
2817impl From<AutomaticControlGroupStyle> for ::core::option::Option<crate::views::ControlGroupStyle> {
2818 fn from(_: AutomaticControlGroupStyle) -> Self {
2819 ::core::option::Option::Some(crate::views::ControlGroupStyle::AutomaticControlGroupStyle)
2820 }
2821}
2822
2823impl From<AutomaticDisclosureGroupStyle> for crate::views::DisclosureGroupStyle {
2824 fn from(_: AutomaticDisclosureGroupStyle) -> Self {
2825 Self::AutomaticDisclosureGroupStyle
2826 }
2827}
2828
2829impl From<AutomaticDisclosureGroupStyle> for ::core::option::Option<crate::views::DisclosureGroupStyle> {
2830 fn from(_: AutomaticDisclosureGroupStyle) -> Self {
2831 ::core::option::Option::Some(crate::views::DisclosureGroupStyle::AutomaticDisclosureGroupStyle)
2832 }
2833}
2834
2835impl From<AutomaticFormStyle> for crate::views::FormStyle {
2836 fn from(_: AutomaticFormStyle) -> Self {
2837 Self::AutomaticFormStyle
2838 }
2839}
2840
2841impl From<AutomaticFormStyle> for ::core::option::Option<crate::views::FormStyle> {
2842 fn from(_: AutomaticFormStyle) -> Self {
2843 ::core::option::Option::Some(crate::views::FormStyle::AutomaticFormStyle)
2844 }
2845}
2846
2847impl From<AutomaticLabeledContentStyle> for crate::views::LabeledContentStyle {
2848 fn from(_: AutomaticLabeledContentStyle) -> Self {
2849 Self::AutomaticLabeledContentStyle
2850 }
2851}
2852
2853impl From<AutomaticLabeledContentStyle> for ::core::option::Option<crate::views::LabeledContentStyle> {
2854 fn from(_: AutomaticLabeledContentStyle) -> Self {
2855 ::core::option::Option::Some(crate::views::LabeledContentStyle::AutomaticLabeledContentStyle)
2856 }
2857}
2858
2859impl From<AutomaticTableStyle> for crate::views::TableStyle {
2860 fn from(_: AutomaticTableStyle) -> Self {
2861 Self::AutomaticTableStyle
2862 }
2863}
2864
2865impl From<AutomaticTableStyle> for ::core::option::Option<crate::views::TableStyle> {
2866 fn from(_: AutomaticTableStyle) -> Self {
2867 ::core::option::Option::Some(crate::views::TableStyle::AutomaticTableStyle)
2868 }
2869}
2870
2871impl From<AutomaticTextEditorStyle> for crate::views::TextEditorStyle {
2872 fn from(_: AutomaticTextEditorStyle) -> Self {
2873 Self::AutomaticTextEditorStyle
2874 }
2875}
2876
2877impl From<AutomaticTextEditorStyle> for ::core::option::Option<crate::views::TextEditorStyle> {
2878 fn from(_: AutomaticTextEditorStyle) -> Self {
2879 ::core::option::Option::Some(crate::views::TextEditorStyle::AutomaticTextEditorStyle)
2880 }
2881}
2882
2883impl From<AvoidHidingContent> for crate::views::SearchPresentationToolbarBehavior {
2884 fn from(_: AvoidHidingContent) -> Self {
2885 Self::AvoidHidingContent
2886 }
2887}
2888
2889impl From<AvoidHidingContent> for ::core::option::Option<crate::views::SearchPresentationToolbarBehavior> {
2890 fn from(_: AvoidHidingContent) -> Self {
2891 ::core::option::Option::Some(crate::views::SearchPresentationToolbarBehavior::AvoidHidingContent)
2892 }
2893}
2894
2895impl From<Background> for crate::views::TaskPriority {
2896 fn from(_: Background) -> Self {
2897 Self::Background
2898 }
2899}
2900
2901impl From<Background> for ::core::option::Option<crate::views::TaskPriority> {
2902 fn from(_: Background) -> Self {
2903 ::core::option::Option::Some(crate::views::TaskPriority::Background)
2904 }
2905}
2906
2907impl From<BackgroundStyle> for crate::views::ShapeStyle {
2908 fn from(_: BackgroundStyle) -> Self {
2909 Self::BackgroundStyle
2910 }
2911}
2912
2913impl From<BackgroundStyle> for ::core::option::Option<crate::views::ShapeStyle> {
2914 fn from(_: BackgroundStyle) -> Self {
2915 ::core::option::Option::Some(crate::views::ShapeStyle::BackgroundStyle)
2916 }
2917}
2918
2919impl From<Balanced> for crate::views::SplitViewStyle {
2920 fn from(_: Balanced) -> Self {
2921 Self::Balanced
2922 }
2923}
2924
2925impl From<Balanced> for ::core::option::Option<crate::views::SplitViewStyle> {
2926 fn from(_: Balanced) -> Self {
2927 ::core::option::Option::Some(crate::views::SplitViewStyle::Balanced)
2928 }
2929}
2930
2931impl From<Bar> for crate::views::MaterialKind {
2932 fn from(_: Bar) -> Self {
2933 Self::Bar
2934 }
2935}
2936
2937impl From<Bar> for ::core::option::Option<crate::views::MaterialKind> {
2938 fn from(_: Bar) -> Self {
2939 ::core::option::Option::Some(crate::views::MaterialKind::Bar)
2940 }
2941}
2942
2943impl From<BasedOnSize> for crate::views::ScrollBounceBehavior {
2944 fn from(_: BasedOnSize) -> Self {
2945 Self::BasedOnSize
2946 }
2947}
2948
2949impl From<BasedOnSize> for ::core::option::Option<crate::views::ScrollBounceBehavior> {
2950 fn from(_: BasedOnSize) -> Self {
2951 ::core::option::Option::Some(crate::views::ScrollBounceBehavior::BasedOnSize)
2952 }
2953}
2954
2955impl From<Black> for crate::views::AppleButtonStyle {
2956 fn from(_: Black) -> Self {
2957 Self::Black
2958 }
2959}
2960
2961impl From<Black> for ::core::option::Option<crate::views::AppleButtonStyle> {
2962 fn from(_: Black) -> Self {
2963 ::core::option::Option::Some(crate::views::AppleButtonStyle::Black)
2964 }
2965}
2966
2967impl From<Black> for crate::views::SystemColor {
2968 fn from(_: Black) -> Self {
2969 Self::Black
2970 }
2971}
2972
2973impl From<Black> for ::core::option::Option<crate::views::SystemColor> {
2974 fn from(_: Black) -> Self {
2975 ::core::option::Option::Some(crate::views::SystemColor::Black)
2976 }
2977}
2978
2979impl From<Black> for crate::views::Weight {
2980 fn from(_: Black) -> Self {
2981 Self::Black
2982 }
2983}
2984
2985impl From<Black> for ::core::option::Option<crate::views::Weight> {
2986 fn from(_: Black) -> Self {
2987 ::core::option::Option::Some(crate::views::Weight::Black)
2988 }
2989}
2990
2991impl From<Blue> for crate::views::SystemColor {
2992 fn from(_: Blue) -> Self {
2993 Self::Blue
2994 }
2995}
2996
2997impl From<Blue> for ::core::option::Option<crate::views::SystemColor> {
2998 fn from(_: Blue) -> Self {
2999 ::core::option::Option::Some(crate::views::SystemColor::Blue)
3000 }
3001}
3002
3003impl From<Body> for crate::views::TextStyle {
3004 fn from(_: Body) -> Self {
3005 Self::Body
3006 }
3007}
3008
3009impl From<Body> for ::core::option::Option<crate::views::TextStyle> {
3010 fn from(_: Body) -> Self {
3011 ::core::option::Option::Some(crate::views::TextStyle::Body)
3012 }
3013}
3014
3015impl From<Bold> for crate::views::Weight {
3016 fn from(_: Bold) -> Self {
3017 Self::Bold
3018 }
3019}
3020
3021impl From<Bold> for ::core::option::Option<crate::views::Weight> {
3022 fn from(_: Bold) -> Self {
3023 ::core::option::Option::Some(crate::views::Weight::Bold)
3024 }
3025}
3026
3027impl From<Bordered> for crate::views::ButtonStyle {
3028 fn from(_: Bordered) -> Self {
3029 Self::Bordered
3030 }
3031}
3032
3033impl From<Bordered> for ::core::option::Option<crate::views::ButtonStyle> {
3034 fn from(_: Bordered) -> Self {
3035 ::core::option::Option::Some(crate::views::ButtonStyle::Bordered)
3036 }
3037}
3038
3039impl From<BorderedButtonMenuStyle> for crate::views::MenuStyle {
3040 fn from(_: BorderedButtonMenuStyle) -> Self {
3041 Self::BorderedButtonMenuStyle
3042 }
3043}
3044
3045impl From<BorderedButtonMenuStyle> for ::core::option::Option<crate::views::MenuStyle> {
3046 fn from(_: BorderedButtonMenuStyle) -> Self {
3047 ::core::option::Option::Some(crate::views::MenuStyle::BorderedButtonMenuStyle)
3048 }
3049}
3050
3051impl From<BorderedListStyle> for crate::views::ListStyle {
3052 fn from(_: BorderedListStyle) -> Self {
3053 Self::BorderedListStyle
3054 }
3055}
3056
3057impl From<BorderedListStyle> for ::core::option::Option<crate::views::ListStyle> {
3058 fn from(_: BorderedListStyle) -> Self {
3059 ::core::option::Option::Some(crate::views::ListStyle::BorderedListStyle)
3060 }
3061}
3062
3063impl From<BorderedProminent> for crate::views::ButtonStyle {
3064 fn from(_: BorderedProminent) -> Self {
3065 Self::BorderedProminent
3066 }
3067}
3068
3069impl From<BorderedProminent> for ::core::option::Option<crate::views::ButtonStyle> {
3070 fn from(_: BorderedProminent) -> Self {
3071 ::core::option::Option::Some(crate::views::ButtonStyle::BorderedProminent)
3072 }
3073}
3074
3075impl From<BorderedTableStyle> for crate::views::TableStyle {
3076 fn from(_: BorderedTableStyle) -> Self {
3077 Self::BorderedTableStyle
3078 }
3079}
3080
3081impl From<BorderedTableStyle> for ::core::option::Option<crate::views::TableStyle> {
3082 fn from(_: BorderedTableStyle) -> Self {
3083 ::core::option::Option::Some(crate::views::TableStyle::BorderedTableStyle)
3084 }
3085}
3086
3087impl From<BorderlessButtonMenuStyle> for crate::views::MenuStyle {
3088 fn from(_: BorderlessButtonMenuStyle) -> Self {
3089 Self::BorderlessButtonMenuStyle
3090 }
3091}
3092
3093impl From<BorderlessButtonMenuStyle> for ::core::option::Option<crate::views::MenuStyle> {
3094 fn from(_: BorderlessButtonMenuStyle) -> Self {
3095 ::core::option::Option::Some(crate::views::MenuStyle::BorderlessButtonMenuStyle)
3096 }
3097}
3098
3099impl From<BorderlessPullDownMenuButtonStyle> for crate::views::MenuButtonStyle {
3100 fn from(_: BorderlessPullDownMenuButtonStyle) -> Self {
3101 Self::BorderlessPullDownMenuButtonStyle
3102 }
3103}
3104
3105impl From<BorderlessPullDownMenuButtonStyle> for ::core::option::Option<crate::views::MenuButtonStyle> {
3106 fn from(_: BorderlessPullDownMenuButtonStyle) -> Self {
3107 ::core::option::Option::Some(crate::views::MenuButtonStyle::BorderlessPullDownMenuButtonStyle)
3108 }
3109}
3110
3111impl From<Bottom> for crate::views::Alignment {
3112 fn from(_: Bottom) -> Self {
3113 Self::Bottom
3114 }
3115}
3116
3117impl From<Bottom> for ::core::option::Option<crate::views::Alignment> {
3118 fn from(_: Bottom) -> Self {
3119 ::core::option::Option::Some(crate::views::Alignment::Bottom)
3120 }
3121}
3122
3123impl From<Bottom> for crate::views::Edge {
3124 fn from(_: Bottom) -> Self {
3125 Self::Bottom
3126 }
3127}
3128
3129impl From<Bottom> for ::core::option::Option<crate::views::Edge> {
3130 fn from(_: Bottom) -> Self {
3131 ::core::option::Option::Some(crate::views::Edge::Bottom)
3132 }
3133}
3134
3135impl From<Bottom> for crate::views::EdgeSet {
3136 fn from(_: Bottom) -> Self {
3137 Self::Bottom
3138 }
3139}
3140
3141impl From<Bottom> for ::core::option::Option<crate::views::EdgeSet> {
3142 fn from(_: Bottom) -> Self {
3143 ::core::option::Option::Some(crate::views::EdgeSet::Bottom)
3144 }
3145}
3146
3147impl From<Bottom> for crate::views::EdgeSetMember {
3148 fn from(_: Bottom) -> Self {
3149 Self::Bottom
3150 }
3151}
3152
3153impl From<Bottom> for ::core::option::Option<crate::views::EdgeSetMember> {
3154 fn from(_: Bottom) -> Self {
3155 ::core::option::Option::Some(crate::views::EdgeSetMember::Bottom)
3156 }
3157}
3158
3159impl From<Bottom> for crate::views::VerticalAlignment {
3160 fn from(_: Bottom) -> Self {
3161 Self::Bottom
3162 }
3163}
3164
3165impl From<Bottom> for ::core::option::Option<crate::views::VerticalAlignment> {
3166 fn from(_: Bottom) -> Self {
3167 ::core::option::Option::Some(crate::views::VerticalAlignment::Bottom)
3168 }
3169}
3170
3171impl From<Bottom> for crate::views::VerticalEdge {
3172 fn from(_: Bottom) -> Self {
3173 Self::Bottom
3174 }
3175}
3176
3177impl From<Bottom> for ::core::option::Option<crate::views::VerticalEdge> {
3178 fn from(_: Bottom) -> Self {
3179 ::core::option::Option::Some(crate::views::VerticalEdge::Bottom)
3180 }
3181}
3182
3183impl From<Bottom> for crate::views::VerticalEdgeSet {
3184 fn from(_: Bottom) -> Self {
3185 Self::Bottom
3186 }
3187}
3188
3189impl From<Bottom> for ::core::option::Option<crate::views::VerticalEdgeSet> {
3190 fn from(_: Bottom) -> Self {
3191 ::core::option::Option::Some(crate::views::VerticalEdgeSet::Bottom)
3192 }
3193}
3194
3195impl From<BottomBar> for crate::views::ToolbarPlacement {
3196 fn from(_: BottomBar) -> Self {
3197 Self::BottomBar
3198 }
3199}
3200
3201impl From<BottomBar> for ::core::option::Option<crate::views::ToolbarPlacement> {
3202 fn from(_: BottomBar) -> Self {
3203 ::core::option::Option::Some(crate::views::ToolbarPlacement::BottomBar)
3204 }
3205}
3206
3207impl From<BottomLeading> for crate::views::Alignment {
3208 fn from(_: BottomLeading) -> Self {
3209 Self::BottomLeading
3210 }
3211}
3212
3213impl From<BottomLeading> for ::core::option::Option<crate::views::Alignment> {
3214 fn from(_: BottomLeading) -> Self {
3215 ::core::option::Option::Some(crate::views::Alignment::BottomLeading)
3216 }
3217}
3218
3219impl From<BottomTrailing> for crate::views::Alignment {
3220 fn from(_: BottomTrailing) -> Self {
3221 Self::BottomTrailing
3222 }
3223}
3224
3225impl From<BottomTrailing> for ::core::option::Option<crate::views::Alignment> {
3226 fn from(_: BottomTrailing) -> Self {
3227 ::core::option::Option::Some(crate::views::Alignment::BottomTrailing)
3228 }
3229}
3230
3231impl From<Bounce> for crate::views::SymbolEffect {
3232 fn from(_: Bounce) -> Self {
3233 Self::Bounce
3234 }
3235}
3236
3237impl From<Bounce> for ::core::option::Option<crate::views::SymbolEffect> {
3238 fn from(_: Bounce) -> Self {
3239 ::core::option::Option::Some(crate::views::SymbolEffect::Bounce)
3240 }
3241}
3242
3243impl From<Breathe> for crate::views::SymbolEffect {
3244 fn from(_: Breathe) -> Self {
3245 Self::Breathe
3246 }
3247}
3248
3249impl From<Breathe> for ::core::option::Option<crate::views::SymbolEffect> {
3250 fn from(_: Breathe) -> Self {
3251 ::core::option::Option::Some(crate::views::SymbolEffect::Breathe)
3252 }
3253}
3254
3255impl From<Brown> for crate::views::SystemColor {
3256 fn from(_: Brown) -> Self {
3257 Self::Brown
3258 }
3259}
3260
3261impl From<Brown> for ::core::option::Option<crate::views::SystemColor> {
3262 fn from(_: Brown) -> Self {
3263 ::core::option::Option::Some(crate::views::SystemColor::Brown)
3264 }
3265}
3266
3267impl From<ButtonMenuStyle> for crate::views::MenuStyle {
3268 fn from(_: ButtonMenuStyle) -> Self {
3269 Self::ButtonMenuStyle
3270 }
3271}
3272
3273impl From<ButtonMenuStyle> for ::core::option::Option<crate::views::MenuStyle> {
3274 fn from(_: ButtonMenuStyle) -> Self {
3275 ::core::option::Option::Some(crate::views::MenuStyle::ButtonMenuStyle)
3276 }
3277}
3278
3279impl From<ButtonToggleStyle> for crate::views::ToggleStyle {
3280 fn from(_: ButtonToggleStyle) -> Self {
3281 Self::ButtonToggleStyle
3282 }
3283}
3284
3285impl From<ButtonToggleStyle> for ::core::option::Option<crate::views::ToggleStyle> {
3286 fn from(_: ButtonToggleStyle) -> Self {
3287 ::core::option::Option::Some(crate::views::ToggleStyle::ButtonToggleStyle)
3288 }
3289}
3290
3291impl From<Callout> for crate::views::TextStyle {
3292 fn from(_: Callout) -> Self {
3293 Self::Callout
3294 }
3295}
3296
3297impl From<Callout> for ::core::option::Option<crate::views::TextStyle> {
3298 fn from(_: Callout) -> Self {
3299 ::core::option::Option::Some(crate::views::TextStyle::Callout)
3300 }
3301}
3302
3303impl From<Cancel> for crate::views::ButtonRole {
3304 fn from(_: Cancel) -> Self {
3305 Self::Cancel
3306 }
3307}
3308
3309impl From<Cancel> for ::core::option::Option<crate::views::ButtonRole> {
3310 fn from(_: Cancel) -> Self {
3311 ::core::option::Option::Some(crate::views::ButtonRole::Cancel)
3312 }
3313}
3314
3315impl From<Cancel> for crate::views::DropOperation {
3316 fn from(_: Cancel) -> Self {
3317 Self::Cancel
3318 }
3319}
3320
3321impl From<Cancel> for ::core::option::Option<crate::views::DropOperation> {
3322 fn from(_: Cancel) -> Self {
3323 ::core::option::Option::Some(crate::views::DropOperation::Cancel)
3324 }
3325}
3326
3327impl From<CancelAction> for crate::views::KeyboardShortcut {
3328 fn from(_: CancelAction) -> Self {
3329 Self::CancelAction
3330 }
3331}
3332
3333impl From<CancelAction> for ::core::option::Option<crate::views::KeyboardShortcut> {
3334 fn from(_: CancelAction) -> Self {
3335 ::core::option::Option::Some(crate::views::KeyboardShortcut::CancelAction)
3336 }
3337}
3338
3339impl From<CancellationAction> for crate::views::ToolbarItemPlacement {
3340 fn from(_: CancellationAction) -> Self {
3341 Self::CancellationAction
3342 }
3343}
3344
3345impl From<CancellationAction> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
3346 fn from(_: CancellationAction) -> Self {
3347 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::CancellationAction)
3348 }
3349}
3350
3351impl From<CapsLock> for crate::views::EventModifier {
3352 fn from(_: CapsLock) -> Self {
3353 Self::CapsLock
3354 }
3355}
3356
3357impl From<CapsLock> for ::core::option::Option<crate::views::EventModifier> {
3358 fn from(_: CapsLock) -> Self {
3359 ::core::option::Option::Some(crate::views::EventModifier::CapsLock)
3360 }
3361}
3362
3363impl From<Capsule> for crate::views::ButtonBorderShape {
3364 fn from(_: Capsule) -> Self {
3365 Self::Capsule
3366 }
3367}
3368
3369impl From<Capsule> for ::core::option::Option<crate::views::ButtonBorderShape> {
3370 fn from(_: Capsule) -> Self {
3371 ::core::option::Option::Some(crate::views::ButtonBorderShape::Capsule)
3372 }
3373}
3374
3375impl From<Caption> for crate::views::TextStyle {
3376 fn from(_: Caption) -> Self {
3377 Self::Caption
3378 }
3379}
3380
3381impl From<Caption> for ::core::option::Option<crate::views::TextStyle> {
3382 fn from(_: Caption) -> Self {
3383 ::core::option::Option::Some(crate::views::TextStyle::Caption)
3384 }
3385}
3386
3387impl From<Caption2> for crate::views::TextStyle {
3388 fn from(_: Caption2) -> Self {
3389 Self::Caption2
3390 }
3391}
3392
3393impl From<Caption2> for ::core::option::Option<crate::views::TextStyle> {
3394 fn from(_: Caption2) -> Self {
3395 ::core::option::Option::Some(crate::views::TextStyle::Caption2)
3396 }
3397}
3398
3399impl From<CausesPageTurn> for crate::views::AccessibilityTrait {
3400 fn from(_: CausesPageTurn) -> Self {
3401 Self::CausesPageTurn
3402 }
3403}
3404
3405impl From<CausesPageTurn> for ::core::option::Option<crate::views::AccessibilityTrait> {
3406 fn from(_: CausesPageTurn) -> Self {
3407 ::core::option::Option::Some(crate::views::AccessibilityTrait::CausesPageTurn)
3408 }
3409}
3410
3411impl From<Center> for crate::views::Alignment {
3412 fn from(_: Center) -> Self {
3413 Self::Center
3414 }
3415}
3416
3417impl From<Center> for ::core::option::Option<crate::views::Alignment> {
3418 fn from(_: Center) -> Self {
3419 ::core::option::Option::Some(crate::views::Alignment::Center)
3420 }
3421}
3422
3423impl From<Center> for crate::views::HorizontalAlignment {
3424 fn from(_: Center) -> Self {
3425 Self::Center
3426 }
3427}
3428
3429impl From<Center> for ::core::option::Option<crate::views::HorizontalAlignment> {
3430 fn from(_: Center) -> Self {
3431 ::core::option::Option::Some(crate::views::HorizontalAlignment::Center)
3432 }
3433}
3434
3435impl From<Center> for crate::views::TextAlign {
3436 fn from(_: Center) -> Self {
3437 Self::Center
3438 }
3439}
3440
3441impl From<Center> for ::core::option::Option<crate::views::TextAlign> {
3442 fn from(_: Center) -> Self {
3443 ::core::option::Option::Some(crate::views::TextAlign::Center)
3444 }
3445}
3446
3447impl From<Center> for crate::views::VerticalAlignment {
3448 fn from(_: Center) -> Self {
3449 Self::Center
3450 }
3451}
3452
3453impl From<Center> for ::core::option::Option<crate::views::VerticalAlignment> {
3454 fn from(_: Center) -> Self {
3455 ::core::option::Option::Some(crate::views::VerticalAlignment::Center)
3456 }
3457}
3458
3459#[cfg(not(target_os = "macos"))]
3460impl From<Characters> for crate::views::TextInputCapitalization {
3461 fn from(_: Characters) -> Self {
3462 Self::Characters
3463 }
3464}
3465
3466#[cfg(not(target_os = "macos"))]
3467impl From<Characters> for ::core::option::Option<crate::views::TextInputCapitalization> {
3468 fn from(_: Characters) -> Self {
3469 ::core::option::Option::Some(crate::views::TextInputCapitalization::Characters)
3470 }
3471}
3472
3473impl From<CheckboxToggleStyle> for crate::views::ToggleStyle {
3474 fn from(_: CheckboxToggleStyle) -> Self {
3475 Self::CheckboxToggleStyle
3476 }
3477}
3478
3479impl From<CheckboxToggleStyle> for ::core::option::Option<crate::views::ToggleStyle> {
3480 fn from(_: CheckboxToggleStyle) -> Self {
3481 ::core::option::Option::Some(crate::views::ToggleStyle::CheckboxToggleStyle)
3482 }
3483}
3484
3485impl From<Circle> for crate::views::ButtonBorderShape {
3486 fn from(_: Circle) -> Self {
3487 Self::Circle
3488 }
3489}
3490
3491impl From<Circle> for ::core::option::Option<crate::views::ButtonBorderShape> {
3492 fn from(_: Circle) -> Self {
3493 ::core::option::Option::Some(crate::views::ButtonBorderShape::Circle)
3494 }
3495}
3496
3497impl From<Circle> for crate::views::InsettableShape {
3498 fn from(_: Circle) -> Self {
3499 Self::Circle
3500 }
3501}
3502
3503impl From<Circle> for ::core::option::Option<crate::views::InsettableShape> {
3504 fn from(_: Circle) -> Self {
3505 ::core::option::Option::Some(crate::views::InsettableShape::Circle)
3506 }
3507}
3508
3509impl From<Circle> for crate::views::SymbolVariants {
3510 fn from(_: Circle) -> Self {
3511 Self::Circle
3512 }
3513}
3514
3515impl From<Circle> for ::core::option::Option<crate::views::SymbolVariants> {
3516 fn from(_: Circle) -> Self {
3517 ::core::option::Option::Some(crate::views::SymbolVariants::Circle)
3518 }
3519}
3520
3521impl From<Circular> for crate::views::ProgressStyle {
3522 fn from(_: Circular) -> Self {
3523 Self::Circular
3524 }
3525}
3526
3527impl From<Circular> for ::core::option::Option<crate::views::ProgressStyle> {
3528 fn from(_: Circular) -> Self {
3529 ::core::option::Option::Some(crate::views::ProgressStyle::Circular)
3530 }
3531}
3532
3533impl From<Clear> for crate::views::Glass {
3534 fn from(_: Clear) -> Self {
3535 Self::Clear
3536 }
3537}
3538
3539impl From<Clear> for ::core::option::Option<crate::views::Glass> {
3540 fn from(_: Clear) -> Self {
3541 ::core::option::Option::Some(crate::views::Glass::Clear)
3542 }
3543}
3544
3545impl From<Clear> for crate::views::Key {
3546 fn from(_: Clear) -> Self {
3547 Self::Clear
3548 }
3549}
3550
3551impl From<Clear> for ::core::option::Option<crate::views::Key> {
3552 fn from(_: Clear) -> Self {
3553 ::core::option::Option::Some(crate::views::Key::Clear)
3554 }
3555}
3556
3557impl From<Clear> for crate::views::SystemColor {
3558 fn from(_: Clear) -> Self {
3559 Self::Clear
3560 }
3561}
3562
3563impl From<Clear> for ::core::option::Option<crate::views::SystemColor> {
3564 fn from(_: Clear) -> Self {
3565 ::core::option::Option::Some(crate::views::SystemColor::Clear)
3566 }
3567}
3568
3569impl From<Close> for crate::views::ButtonRole {
3570 fn from(_: Close) -> Self {
3571 Self::Close
3572 }
3573}
3574
3575impl From<Close> for ::core::option::Option<crate::views::ButtonRole> {
3576 fn from(_: Close) -> Self {
3577 ::core::option::Option::Some(crate::views::ButtonRole::Close)
3578 }
3579}
3580
3581impl From<Collection> for crate::views::SubmitTrigger {
3582 fn from(_: Collection) -> Self {
3583 Self::Collection
3584 }
3585}
3586
3587impl From<Collection> for ::core::option::Option<crate::views::SubmitTrigger> {
3588 fn from(_: Collection) -> Self {
3589 ::core::option::Option::Some(crate::views::SubmitTrigger::Collection)
3590 }
3591}
3592
3593impl From<Color> for crate::views::SymbolVariableValue {
3594 fn from(_: Color) -> Self {
3595 Self::Color
3596 }
3597}
3598
3599impl From<Color> for ::core::option::Option<crate::views::SymbolVariableValue> {
3600 fn from(_: Color) -> Self {
3601 ::core::option::Option::Some(crate::views::SymbolVariableValue::Color)
3602 }
3603}
3604
3605impl From<ColumnResize> for crate::views::PointerStyle {
3606 fn from(_: ColumnResize) -> Self {
3607 Self::ColumnResize
3608 }
3609}
3610
3611impl From<ColumnResize> for ::core::option::Option<crate::views::PointerStyle> {
3612 fn from(_: ColumnResize) -> Self {
3613 ::core::option::Option::Some(crate::views::PointerStyle::ColumnResize)
3614 }
3615}
3616
3617impl From<ColumnsFormStyle> for crate::views::FormStyle {
3618 fn from(_: ColumnsFormStyle) -> Self {
3619 Self::ColumnsFormStyle
3620 }
3621}
3622
3623impl From<ColumnsFormStyle> for ::core::option::Option<crate::views::FormStyle> {
3624 fn from(_: ColumnsFormStyle) -> Self {
3625 ::core::option::Option::Some(crate::views::FormStyle::ColumnsFormStyle)
3626 }
3627}
3628
3629impl From<Combine> for crate::views::AccessibilityChildBehavior {
3630 fn from(_: Combine) -> Self {
3631 Self::Combine
3632 }
3633}
3634
3635impl From<Combine> for ::core::option::Option<crate::views::AccessibilityChildBehavior> {
3636 fn from(_: Combine) -> Self {
3637 ::core::option::Option::Some(crate::views::AccessibilityChildBehavior::Combine)
3638 }
3639}
3640
3641impl From<Command> for crate::views::EventModifier {
3642 fn from(_: Command) -> Self {
3643 Self::Command
3644 }
3645}
3646
3647impl From<Command> for ::core::option::Option<crate::views::EventModifier> {
3648 fn from(_: Command) -> Self {
3649 ::core::option::Option::Some(crate::views::EventModifier::Command)
3650 }
3651}
3652
3653impl From<CompactDatePickerStyle> for crate::views::DatePickerStyle {
3654 fn from(_: CompactDatePickerStyle) -> Self {
3655 Self::CompactDatePickerStyle
3656 }
3657}
3658
3659impl From<CompactDatePickerStyle> for ::core::option::Option<crate::views::DatePickerStyle> {
3660 fn from(_: CompactDatePickerStyle) -> Self {
3661 ::core::option::Option::Some(crate::views::DatePickerStyle::CompactDatePickerStyle)
3662 }
3663}
3664
3665impl From<CompactMenuControlGroupStyle> for crate::views::ControlGroupStyle {
3666 fn from(_: CompactMenuControlGroupStyle) -> Self {
3667 Self::CompactMenuControlGroupStyle
3668 }
3669}
3670
3671impl From<CompactMenuControlGroupStyle> for ::core::option::Option<crate::views::ControlGroupStyle> {
3672 fn from(_: CompactMenuControlGroupStyle) -> Self {
3673 ::core::option::Option::Some(crate::views::ControlGroupStyle::CompactMenuControlGroupStyle)
3674 }
3675}
3676
3677impl From<Complete> for crate::views::WritingToolsBehavior {
3678 fn from(_: Complete) -> Self {
3679 Self::Complete
3680 }
3681}
3682
3683impl From<Complete> for ::core::option::Option<crate::views::WritingToolsBehavior> {
3684 fn from(_: Complete) -> Self {
3685 ::core::option::Option::Some(crate::views::WritingToolsBehavior::Complete)
3686 }
3687}
3688
3689impl From<Compressed> for crate::views::FontWidth {
3690 fn from(_: Compressed) -> Self {
3691 Self::Compressed
3692 }
3693}
3694
3695impl From<Compressed> for ::core::option::Option<crate::views::FontWidth> {
3696 fn from(_: Compressed) -> Self {
3697 ::core::option::Option::Some(crate::views::FontWidth::Compressed)
3698 }
3699}
3700
3701impl From<Concrete> for crate::views::Content {
3702 fn from(_: Concrete) -> Self {
3703 Self::Concrete
3704 }
3705}
3706
3707impl From<Concrete> for ::core::option::Option<crate::views::Content> {
3708 fn from(_: Concrete) -> Self {
3709 ::core::option::Option::Some(crate::views::Content::Concrete)
3710 }
3711}
3712
3713impl From<Condensed> for crate::views::FontWidth {
3714 fn from(_: Condensed) -> Self {
3715 Self::Condensed
3716 }
3717}
3718
3719impl From<Condensed> for ::core::option::Option<crate::views::FontWidth> {
3720 fn from(_: Condensed) -> Self {
3721 ::core::option::Option::Some(crate::views::FontWidth::Condensed)
3722 }
3723}
3724
3725impl From<Confirm> for crate::views::ButtonRole {
3726 fn from(_: Confirm) -> Self {
3727 Self::Confirm
3728 }
3729}
3730
3731impl From<Confirm> for ::core::option::Option<crate::views::ButtonRole> {
3732 fn from(_: Confirm) -> Self {
3733 ::core::option::Option::Some(crate::views::ButtonRole::Confirm)
3734 }
3735}
3736
3737impl From<ConfirmationAction> for crate::views::ToolbarItemPlacement {
3738 fn from(_: ConfirmationAction) -> Self {
3739 Self::ConfirmationAction
3740 }
3741}
3742
3743impl From<ConfirmationAction> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
3744 fn from(_: ConfirmationAction) -> Self {
3745 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::ConfirmationAction)
3746 }
3747}
3748
3749impl From<Console> for crate::views::TextContentType {
3750 fn from(_: Console) -> Self {
3751 Self::Console
3752 }
3753}
3754
3755impl From<Console> for ::core::option::Option<crate::views::TextContentType> {
3756 fn from(_: Console) -> Self {
3757 ::core::option::Option::Some(crate::views::TextContentType::Console)
3758 }
3759}
3760
3761impl From<ConstrainedHigh> for crate::views::DynamicRange {
3762 fn from(_: ConstrainedHigh) -> Self {
3763 Self::ConstrainedHigh
3764 }
3765}
3766
3767impl From<ConstrainedHigh> for ::core::option::Option<crate::views::DynamicRange> {
3768 fn from(_: ConstrainedHigh) -> Self {
3769 ::core::option::Option::Some(crate::views::DynamicRange::ConstrainedHigh)
3770 }
3771}
3772
3773impl From<Contain> for crate::views::AccessibilityChildBehavior {
3774 fn from(_: Contain) -> Self {
3775 Self::Contain
3776 }
3777}
3778
3779impl From<Contain> for ::core::option::Option<crate::views::AccessibilityChildBehavior> {
3780 fn from(_: Contain) -> Self {
3781 ::core::option::Option::Some(crate::views::AccessibilityChildBehavior::Contain)
3782 }
3783}
3784
3785impl From<Container> for crate::views::SafeAreaRegions {
3786 fn from(_: Container) -> Self {
3787 Self::Container
3788 }
3789}
3790
3791impl From<Container> for ::core::option::Option<crate::views::SafeAreaRegions> {
3792 fn from(_: Container) -> Self {
3793 ::core::option::Option::Some(crate::views::SafeAreaRegions::Container)
3794 }
3795}
3796
3797impl From<ContainerRelativeShape> for crate::views::InsettableShape {
3798 fn from(_: ContainerRelativeShape) -> Self {
3799 Self::ContainerRelativeShape
3800 }
3801}
3802
3803impl From<ContainerRelativeShape> for ::core::option::Option<crate::views::InsettableShape> {
3804 fn from(_: ContainerRelativeShape) -> Self {
3805 ::core::option::Option::Some(crate::views::InsettableShape::ContainerRelativeShape)
3806 }
3807}
3808
3809impl From<Content> for crate::views::LabeledPairRole {
3810 fn from(_: Content) -> Self {
3811 Self::Content
3812 }
3813}
3814
3815impl From<Content> for ::core::option::Option<crate::views::LabeledPairRole> {
3816 fn from(_: Content) -> Self {
3817 ::core::option::Option::Some(crate::views::LabeledPairRole::Content)
3818 }
3819}
3820
3821impl From<Content> for crate::views::SearchSuggestionsPlacementSet {
3822 fn from(_: Content) -> Self {
3823 Self::Content
3824 }
3825}
3826
3827impl From<Content> for ::core::option::Option<crate::views::SearchSuggestionsPlacementSet> {
3828 fn from(_: Content) -> Self {
3829 ::core::option::Option::Some(crate::views::SearchSuggestionsPlacementSet::Content)
3830 }
3831}
3832
3833impl From<ContentBased> for crate::views::WritingDirectionStrategy {
3834 fn from(_: ContentBased) -> Self {
3835 Self::ContentBased
3836 }
3837}
3838
3839impl From<ContentBased> for ::core::option::Option<crate::views::WritingDirectionStrategy> {
3840 fn from(_: ContentBased) -> Self {
3841 ::core::option::Option::Some(crate::views::WritingDirectionStrategy::ContentBased)
3842 }
3843}
3844
3845impl From<ContextMenu> for crate::views::TextInputFormattingControlPlacementSet {
3846 fn from(_: ContextMenu) -> Self {
3847 Self::ContextMenu
3848 }
3849}
3850
3851impl From<ContextMenu> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
3852 fn from(_: ContextMenu) -> Self {
3853 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::ContextMenu)
3854 }
3855}
3856
3857impl From<Continue> for crate::views::AppleButtonLabel {
3858 fn from(_: Continue) -> Self {
3859 Self::Continue
3860 }
3861}
3862
3863impl From<Continue> for ::core::option::Option<crate::views::AppleButtonLabel> {
3864 fn from(_: Continue) -> Self {
3865 ::core::option::Option::Some(crate::views::AppleButtonLabel::Continue)
3866 }
3867}
3868
3869impl From<Continue> for crate::views::SubmitLabel {
3870 fn from(_: Continue) -> Self {
3871 Self::Continue
3872 }
3873}
3874
3875impl From<Continue> for ::core::option::Option<crate::views::SubmitLabel> {
3876 fn from(_: Continue) -> Self {
3877 ::core::option::Option::Some(crate::views::SubmitLabel::Continue)
3878 }
3879}
3880
3881impl From<Control> for crate::views::EventModifier {
3882 fn from(_: Control) -> Self {
3883 Self::Control
3884 }
3885}
3886
3887impl From<Control> for ::core::option::Option<crate::views::EventModifier> {
3888 fn from(_: Control) -> Self {
3889 ::core::option::Option::Some(crate::views::EventModifier::Control)
3890 }
3891}
3892
3893impl From<Copy> for crate::views::DropOperation {
3894 fn from(_: Copy) -> Self {
3895 Self::Copy
3896 }
3897}
3898
3899impl From<Copy> for ::core::option::Option<crate::views::DropOperation> {
3900 fn from(_: Copy) -> Self {
3901 ::core::option::Option::Some(crate::views::DropOperation::Copy)
3902 }
3903}
3904
3905impl From<Critical> for crate::views::DialogSeverity {
3906 fn from(_: Critical) -> Self {
3907 Self::Critical
3908 }
3909}
3910
3911impl From<Critical> for ::core::option::Option<crate::views::DialogSeverity> {
3912 fn from(_: Critical) -> Self {
3913 ::core::option::Option::Some(crate::views::DialogSeverity::Critical)
3914 }
3915}
3916
3917impl From<Custom> for crate::views::PaletteSelectionEffect {
3918 fn from(_: Custom) -> Self {
3919 Self::Custom
3920 }
3921}
3922
3923impl From<Custom> for ::core::option::Option<crate::views::PaletteSelectionEffect> {
3924 fn from(_: Custom) -> Self {
3925 ::core::option::Option::Some(crate::views::PaletteSelectionEffect::Custom)
3926 }
3927}
3928
3929impl From<Cyan> for crate::views::SystemColor {
3930 fn from(_: Cyan) -> Self {
3931 Self::Cyan
3932 }
3933}
3934
3935impl From<Cyan> for ::core::option::Option<crate::views::SystemColor> {
3936 fn from(_: Cyan) -> Self {
3937 ::core::option::Option::Some(crate::views::SystemColor::Cyan)
3938 }
3939}
3940
3941impl From<Dark> for crate::views::ColorScheme {
3942 fn from(_: Dark) -> Self {
3943 Self::Dark
3944 }
3945}
3946
3947impl From<Dark> for ::core::option::Option<crate::views::ColorScheme> {
3948 fn from(_: Dark) -> Self {
3949 ::core::option::Option::Some(crate::views::ColorScheme::Dark)
3950 }
3951}
3952
3953impl From<Dash> for crate::views::LinePattern {
3954 fn from(_: Dash) -> Self {
3955 Self::Dash
3956 }
3957}
3958
3959impl From<Dash> for ::core::option::Option<crate::views::LinePattern> {
3960 fn from(_: Dash) -> Self {
3961 ::core::option::Option::Some(crate::views::LinePattern::Dash)
3962 }
3963}
3964
3965impl From<DashDot> for crate::views::LinePattern {
3966 fn from(_: DashDot) -> Self {
3967 Self::DashDot
3968 }
3969}
3970
3971impl From<DashDot> for ::core::option::Option<crate::views::LinePattern> {
3972 fn from(_: DashDot) -> Self {
3973 ::core::option::Option::Some(crate::views::LinePattern::DashDot)
3974 }
3975}
3976
3977impl From<DashDotDot> for crate::views::LinePattern {
3978 fn from(_: DashDotDot) -> Self {
3979 Self::DashDotDot
3980 }
3981}
3982
3983impl From<DashDotDot> for ::core::option::Option<crate::views::LinePattern> {
3984 fn from(_: DashDotDot) -> Self {
3985 ::core::option::Option::Some(crate::views::LinePattern::DashDotDot)
3986 }
3987}
3988
3989impl From<Date> for crate::views::DatePickerComponent {
3990 fn from(_: Date) -> Self {
3991 Self::Date
3992 }
3993}
3994
3995impl From<Date> for ::core::option::Option<crate::views::DatePickerComponent> {
3996 fn from(_: Date) -> Self {
3997 ::core::option::Option::Some(crate::views::DatePickerComponent::Date)
3998 }
3999}
4000
4001#[cfg(not(target_os = "macos"))]
4002impl From<DecimalPad> for crate::views::KeyboardType {
4003 fn from(_: DecimalPad) -> Self {
4004 Self::DecimalPad
4005 }
4006}
4007
4008#[cfg(not(target_os = "macos"))]
4009impl From<DecimalPad> for ::core::option::Option<crate::views::KeyboardType> {
4010 fn from(_: DecimalPad) -> Self {
4011 ::core::option::Option::Some(crate::views::KeyboardType::DecimalPad)
4012 }
4013}
4014
4015impl From<Decimals> for crate::views::CharacterSetKind {
4016 fn from(_: Decimals) -> Self {
4017 Self::Decimals
4018 }
4019}
4020
4021impl From<Decimals> for ::core::option::Option<crate::views::CharacterSetKind> {
4022 fn from(_: Decimals) -> Self {
4023 ::core::option::Option::Some(crate::views::CharacterSetKind::Decimals)
4024 }
4025}
4026
4027impl From<Decrease> for crate::views::SensoryFeedback {
4028 fn from(_: Decrease) -> Self {
4029 Self::Decrease
4030 }
4031}
4032
4033impl From<Decrease> for ::core::option::Option<crate::views::SensoryFeedback> {
4034 fn from(_: Decrease) -> Self {
4035 ::core::option::Option::Some(crate::views::SensoryFeedback::Decrease)
4036 }
4037}
4038
4039impl From<Decreased> for crate::views::BadgeProminence {
4040 fn from(_: Decreased) -> Self {
4041 Self::Decreased
4042 }
4043}
4044
4045impl From<Decreased> for ::core::option::Option<crate::views::BadgeProminence> {
4046 fn from(_: Decreased) -> Self {
4047 ::core::option::Option::Some(crate::views::BadgeProminence::Decreased)
4048 }
4049}
4050
4051impl From<Default> for crate::views::ActionCategory {
4052 fn from(_: Default) -> Self {
4053 Self::Default
4054 }
4055}
4056
4057impl From<Default> for ::core::option::Option<crate::views::ActionCategory> {
4058 fn from(_: Default) -> Self {
4059 ::core::option::Option::Some(crate::views::ActionCategory::Default)
4060 }
4061}
4062
4063impl From<Default> for crate::views::ActionKind {
4064 fn from(_: Default) -> Self {
4065 Self::Default
4066 }
4067}
4068
4069impl From<Default> for ::core::option::Option<crate::views::ActionKind> {
4070 fn from(_: Default) -> Self {
4071 ::core::option::Option::Some(crate::views::ActionKind::Default)
4072 }
4073}
4074
4075impl From<Default> for crate::views::AnimationKind {
4076 fn from(_: Default) -> Self {
4077 Self::Default
4078 }
4079}
4080
4081impl From<Default> for ::core::option::Option<crate::views::AnimationKind> {
4082 fn from(_: Default) -> Self {
4083 ::core::option::Option::Some(crate::views::AnimationKind::Default)
4084 }
4085}
4086
4087impl From<Default> for crate::views::CustomContentImportance {
4088 fn from(_: Default) -> Self {
4089 Self::Default
4090 }
4091}
4092
4093impl From<Default> for ::core::option::Option<crate::views::CustomContentImportance> {
4094 fn from(_: Default) -> Self {
4095 ::core::option::Option::Some(crate::views::CustomContentImportance::Default)
4096 }
4097}
4098
4099impl From<Default> for crate::views::Design {
4100 fn from(_: Default) -> Self {
4101 Self::Default
4102 }
4103}
4104
4105impl From<Default> for ::core::option::Option<crate::views::Design> {
4106 fn from(_: Default) -> Self {
4107 ::core::option::Option::Some(crate::views::Design::Default)
4108 }
4109}
4110
4111impl From<Default> for crate::views::DragDropPreviewsFormation {
4112 fn from(_: Default) -> Self {
4113 Self::Default
4114 }
4115}
4116
4117impl From<Default> for ::core::option::Option<crate::views::DragDropPreviewsFormation> {
4118 fn from(_: Default) -> Self {
4119 ::core::option::Option::Some(crate::views::DragDropPreviewsFormation::Default)
4120 }
4121}
4122
4123#[cfg(not(target_os = "macos"))]
4124impl From<Default> for crate::views::KeyboardType {
4125 fn from(_: Default) -> Self {
4126 Self::Default
4127 }
4128}
4129
4130#[cfg(not(target_os = "macos"))]
4131impl From<Default> for ::core::option::Option<crate::views::KeyboardType> {
4132 fn from(_: Default) -> Self {
4133 ::core::option::Option::Some(crate::views::KeyboardType::Default)
4134 }
4135}
4136
4137impl From<Default> for crate::views::PointerStyle {
4138 fn from(_: Default) -> Self {
4139 Self::Default
4140 }
4141}
4142
4143impl From<Default> for ::core::option::Option<crate::views::PointerStyle> {
4144 fn from(_: Default) -> Self {
4145 ::core::option::Option::Some(crate::views::PointerStyle::Default)
4146 }
4147}
4148
4149impl From<Default> for crate::views::TextInputFormattingControlPlacementSet {
4150 fn from(_: Default) -> Self {
4151 Self::Default
4152 }
4153}
4154
4155impl From<Default> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
4156 fn from(_: Default) -> Self {
4157 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::Default)
4158 }
4159}
4160
4161impl From<Default> for crate::views::TextScale {
4162 fn from(_: Default) -> Self {
4163 Self::Default
4164 }
4165}
4166
4167impl From<Default> for ::core::option::Option<crate::views::TextScale> {
4168 fn from(_: Default) -> Self {
4169 ::core::option::Option::Some(crate::views::TextScale::Default)
4170 }
4171}
4172
4173impl From<Default> for crate::views::TouchBarItemPresence {
4174 fn from(_: Default) -> Self {
4175 Self::Default
4176 }
4177}
4178
4179impl From<Default> for ::core::option::Option<crate::views::TouchBarItemPresence> {
4180 fn from(_: Default) -> Self {
4181 ::core::option::Option::Some(crate::views::TouchBarItemPresence::Default)
4182 }
4183}
4184
4185impl From<Default> for crate::views::WritingDirectionStrategy {
4186 fn from(_: Default) -> Self {
4187 Self::Default
4188 }
4189}
4190
4191impl From<Default> for ::core::option::Option<crate::views::WritingDirectionStrategy> {
4192 fn from(_: Default) -> Self {
4193 ::core::option::Option::Some(crate::views::WritingDirectionStrategy::Default)
4194 }
4195}
4196
4197impl From<DefaultAction> for crate::views::KeyboardShortcut {
4198 fn from(_: DefaultAction) -> Self {
4199 Self::DefaultAction
4200 }
4201}
4202
4203impl From<DefaultAction> for ::core::option::Option<crate::views::KeyboardShortcut> {
4204 fn from(_: DefaultAction) -> Self {
4205 ::core::option::Option::Some(crate::views::KeyboardShortcut::DefaultAction)
4206 }
4207}
4208
4209impl From<DefaultDatePickerStyle> for crate::views::DatePickerStyle {
4210 fn from(_: DefaultDatePickerStyle) -> Self {
4211 Self::DefaultDatePickerStyle
4212 }
4213}
4214
4215impl From<DefaultDatePickerStyle> for ::core::option::Option<crate::views::DatePickerStyle> {
4216 fn from(_: DefaultDatePickerStyle) -> Self {
4217 ::core::option::Option::Some(crate::views::DatePickerStyle::DefaultDatePickerStyle)
4218 }
4219}
4220
4221impl From<DefaultGaugeStyle> for crate::views::GaugeStyle {
4222 fn from(_: DefaultGaugeStyle) -> Self {
4223 Self::DefaultGaugeStyle
4224 }
4225}
4226
4227impl From<DefaultGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
4228 fn from(_: DefaultGaugeStyle) -> Self {
4229 ::core::option::Option::Some(crate::views::GaugeStyle::DefaultGaugeStyle)
4230 }
4231}
4232
4233impl From<DefaultGroupBoxStyle> for crate::views::GroupBoxStyle {
4234 fn from(_: DefaultGroupBoxStyle) -> Self {
4235 Self::DefaultGroupBoxStyle
4236 }
4237}
4238
4239impl From<DefaultGroupBoxStyle> for ::core::option::Option<crate::views::GroupBoxStyle> {
4240 fn from(_: DefaultGroupBoxStyle) -> Self {
4241 ::core::option::Option::Some(crate::views::GroupBoxStyle::DefaultGroupBoxStyle)
4242 }
4243}
4244
4245impl From<DefaultLabelStyle> for crate::views::LabelStyle {
4246 fn from(_: DefaultLabelStyle) -> Self {
4247 Self::DefaultLabelStyle
4248 }
4249}
4250
4251impl From<DefaultLabelStyle> for ::core::option::Option<crate::views::LabelStyle> {
4252 fn from(_: DefaultLabelStyle) -> Self {
4253 ::core::option::Option::Some(crate::views::LabelStyle::DefaultLabelStyle)
4254 }
4255}
4256
4257impl From<DefaultListStyle> for crate::views::ListStyle {
4258 fn from(_: DefaultListStyle) -> Self {
4259 Self::DefaultListStyle
4260 }
4261}
4262
4263impl From<DefaultListStyle> for ::core::option::Option<crate::views::ListStyle> {
4264 fn from(_: DefaultListStyle) -> Self {
4265 ::core::option::Option::Some(crate::views::ListStyle::DefaultListStyle)
4266 }
4267}
4268
4269impl From<DefaultMenuButtonStyle> for crate::views::MenuButtonStyle {
4270 fn from(_: DefaultMenuButtonStyle) -> Self {
4271 Self::DefaultMenuButtonStyle
4272 }
4273}
4274
4275impl From<DefaultMenuButtonStyle> for ::core::option::Option<crate::views::MenuButtonStyle> {
4276 fn from(_: DefaultMenuButtonStyle) -> Self {
4277 ::core::option::Option::Some(crate::views::MenuButtonStyle::DefaultMenuButtonStyle)
4278 }
4279}
4280
4281impl From<DefaultMenuStyle> for crate::views::MenuStyle {
4282 fn from(_: DefaultMenuStyle) -> Self {
4283 Self::DefaultMenuStyle
4284 }
4285}
4286
4287impl From<DefaultMenuStyle> for ::core::option::Option<crate::views::MenuStyle> {
4288 fn from(_: DefaultMenuStyle) -> Self {
4289 ::core::option::Option::Some(crate::views::MenuStyle::DefaultMenuStyle)
4290 }
4291}
4292
4293impl From<DefaultPickerStyle> for crate::views::PickerStyle {
4294 fn from(_: DefaultPickerStyle) -> Self {
4295 Self::DefaultPickerStyle
4296 }
4297}
4298
4299impl From<DefaultPickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
4300 fn from(_: DefaultPickerStyle) -> Self {
4301 ::core::option::Option::Some(crate::views::PickerStyle::DefaultPickerStyle)
4302 }
4303}
4304
4305impl From<DefaultTextFieldStyle> for crate::views::TextFieldStyle {
4306 fn from(_: DefaultTextFieldStyle) -> Self {
4307 Self::DefaultTextFieldStyle
4308 }
4309}
4310
4311impl From<DefaultTextFieldStyle> for ::core::option::Option<crate::views::TextFieldStyle> {
4312 fn from(_: DefaultTextFieldStyle) -> Self {
4313 ::core::option::Option::Some(crate::views::TextFieldStyle::DefaultTextFieldStyle)
4314 }
4315}
4316
4317impl From<DefaultToggleStyle> for crate::views::ToggleStyle {
4318 fn from(_: DefaultToggleStyle) -> Self {
4319 Self::DefaultToggleStyle
4320 }
4321}
4322
4323impl From<DefaultToggleStyle> for ::core::option::Option<crate::views::ToggleStyle> {
4324 fn from(_: DefaultToggleStyle) -> Self {
4325 ::core::option::Option::Some(crate::views::ToggleStyle::DefaultToggleStyle)
4326 }
4327}
4328
4329impl From<DefaultWindowStyle> for crate::views::WindowStyle {
4330 fn from(_: DefaultWindowStyle) -> Self {
4331 Self::DefaultWindowStyle
4332 }
4333}
4334
4335impl From<DefaultWindowStyle> for ::core::option::Option<crate::views::WindowStyle> {
4336 fn from(_: DefaultWindowStyle) -> Self {
4337 ::core::option::Option::Some(crate::views::WindowStyle::DefaultWindowStyle)
4338 }
4339}
4340
4341impl From<DefaultWindowToolbarStyle> for crate::views::WindowToolbarStyle {
4342 fn from(_: DefaultWindowToolbarStyle) -> Self {
4343 Self::DefaultWindowToolbarStyle
4344 }
4345}
4346
4347impl From<DefaultWindowToolbarStyle> for ::core::option::Option<crate::views::WindowToolbarStyle> {
4348 fn from(_: DefaultWindowToolbarStyle) -> Self {
4349 ::core::option::Option::Some(crate::views::WindowToolbarStyle::DefaultWindowToolbarStyle)
4350 }
4351}
4352
4353impl From<Delete> for crate::views::ActionKind {
4354 fn from(_: Delete) -> Self {
4355 Self::Delete
4356 }
4357}
4358
4359impl From<Delete> for ::core::option::Option<crate::views::ActionKind> {
4360 fn from(_: Delete) -> Self {
4361 ::core::option::Option::Some(crate::views::ActionKind::Delete)
4362 }
4363}
4364
4365impl From<Delete> for crate::views::Key {
4366 fn from(_: Delete) -> Self {
4367 Self::Delete
4368 }
4369}
4370
4371impl From<Delete> for ::core::option::Option<crate::views::Key> {
4372 fn from(_: Delete) -> Self {
4373 ::core::option::Option::Some(crate::views::Key::Delete)
4374 }
4375}
4376
4377impl From<DeleteForward> for crate::views::Key {
4378 fn from(_: DeleteForward) -> Self {
4379 Self::DeleteForward
4380 }
4381}
4382
4383impl From<DeleteForward> for ::core::option::Option<crate::views::Key> {
4384 fn from(_: DeleteForward) -> Self {
4385 ::core::option::Option::Some(crate::views::Key::DeleteForward)
4386 }
4387}
4388
4389impl From<Destructive> for crate::views::ButtonRole {
4390 fn from(_: Destructive) -> Self {
4391 Self::Destructive
4392 }
4393}
4394
4395impl From<Destructive> for ::core::option::Option<crate::views::ButtonRole> {
4396 fn from(_: Destructive) -> Self {
4397 ::core::option::Option::Some(crate::views::ButtonRole::Destructive)
4398 }
4399}
4400
4401impl From<DestructiveAction> for crate::views::ToolbarItemPlacement {
4402 fn from(_: DestructiveAction) -> Self {
4403 Self::DestructiveAction
4404 }
4405}
4406
4407impl From<DestructiveAction> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
4408 fn from(_: DestructiveAction) -> Self {
4409 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::DestructiveAction)
4410 }
4411}
4412
4413impl From<Device> for crate::views::GradientColorSpace {
4414 fn from(_: Device) -> Self {
4415 Self::Device
4416 }
4417}
4418
4419impl From<Device> for ::core::option::Option<crate::views::GradientColorSpace> {
4420 fn from(_: Device) -> Self {
4421 ::core::option::Option::Some(crate::views::GradientColorSpace::Device)
4422 }
4423}
4424
4425impl From<Device> for crate::views::PreviewLayout {
4426 fn from(_: Device) -> Self {
4427 Self::Device
4428 }
4429}
4430
4431impl From<Device> for ::core::option::Option<crate::views::PreviewLayout> {
4432 fn from(_: Device) -> Self {
4433 ::core::option::Option::Some(crate::views::PreviewLayout::Device)
4434 }
4435}
4436
4437impl From<DidDisappear> for crate::views::TransitionPhase {
4438 fn from(_: DidDisappear) -> Self {
4439 Self::DidDisappear
4440 }
4441}
4442
4443impl From<DidDisappear> for ::core::option::Option<crate::views::TransitionPhase> {
4444 fn from(_: DidDisappear) -> Self {
4445 ::core::option::Option::Some(crate::views::TransitionPhase::DidDisappear)
4446 }
4447}
4448
4449impl From<Disabled> for crate::views::AlternatingRowBackgroundBehavior {
4450 fn from(_: Disabled) -> Self {
4451 Self::Disabled
4452 }
4453}
4454
4455impl From<Disabled> for ::core::option::Option<crate::views::AlternatingRowBackgroundBehavior> {
4456 fn from(_: Disabled) -> Self {
4457 ::core::option::Option::Some(crate::views::AlternatingRowBackgroundBehavior::Disabled)
4458 }
4459}
4460
4461impl From<Disabled> for crate::views::ButtonRepeatBehavior {
4462 fn from(_: Disabled) -> Self {
4463 Self::Disabled
4464 }
4465}
4466
4467impl From<Disabled> for ::core::option::Option<crate::views::ButtonRepeatBehavior> {
4468 fn from(_: Disabled) -> Self {
4469 ::core::option::Option::Some(crate::views::ButtonRepeatBehavior::Disabled)
4470 }
4471}
4472
4473impl From<Disabled> for crate::views::PresentationBackgroundInteraction {
4474 fn from(_: Disabled) -> Self {
4475 Self::Disabled
4476 }
4477}
4478
4479impl From<Disabled> for ::core::option::Option<crate::views::PresentationBackgroundInteraction> {
4480 fn from(_: Disabled) -> Self {
4481 ::core::option::Option::Some(crate::views::PresentationBackgroundInteraction::Disabled)
4482 }
4483}
4484
4485impl From<Disabled> for crate::views::SpringLoadingBehavior {
4486 fn from(_: Disabled) -> Self {
4487 Self::Disabled
4488 }
4489}
4490
4491impl From<Disabled> for ::core::option::Option<crate::views::SpringLoadingBehavior> {
4492 fn from(_: Disabled) -> Self {
4493 ::core::option::Option::Some(crate::views::SpringLoadingBehavior::Disabled)
4494 }
4495}
4496
4497impl From<Disabled> for crate::views::WindowInteractionBehavior {
4498 fn from(_: Disabled) -> Self {
4499 Self::Disabled
4500 }
4501}
4502
4503impl From<Disabled> for ::core::option::Option<crate::views::WindowInteractionBehavior> {
4504 fn from(_: Disabled) -> Self {
4505 ::core::option::Option::Some(crate::views::WindowInteractionBehavior::Disabled)
4506 }
4507}
4508
4509impl From<Disabled> for crate::views::WritingToolsBehavior {
4510 fn from(_: Disabled) -> Self {
4511 Self::Disabled
4512 }
4513}
4514
4515impl From<Disabled> for ::core::option::Option<crate::views::WritingToolsBehavior> {
4516 fn from(_: Disabled) -> Self {
4517 ::core::option::Option::Some(crate::views::WritingToolsBehavior::Disabled)
4518 }
4519}
4520
4521impl From<DisabledTextSelectability> for crate::views::TextSelectability {
4522 fn from(_: DisabledTextSelectability) -> Self {
4523 Self::DisabledTextSelectability
4524 }
4525}
4526
4527impl From<DisabledTextSelectability> for ::core::option::Option<crate::views::TextSelectability> {
4528 fn from(_: DisabledTextSelectability) -> Self {
4529 ::core::option::Option::Some(crate::views::TextSelectability::DisabledTextSelectability)
4530 }
4531}
4532
4533impl From<Done> for crate::views::SubmitLabel {
4534 fn from(_: Done) -> Self {
4535 Self::Done
4536 }
4537}
4538
4539impl From<Done> for ::core::option::Option<crate::views::SubmitLabel> {
4540 fn from(_: Done) -> Self {
4541 ::core::option::Option::Some(crate::views::SubmitLabel::Done)
4542 }
4543}
4544
4545impl From<Dot> for crate::views::LinePattern {
4546 fn from(_: Dot) -> Self {
4547 Self::Dot
4548 }
4549}
4550
4551impl From<Dot> for ::core::option::Option<crate::views::LinePattern> {
4552 fn from(_: Dot) -> Self {
4553 ::core::option::Option::Some(crate::views::LinePattern::Dot)
4554 }
4555}
4556
4557impl From<Down> for crate::views::KeyPressPhases {
4558 fn from(_: Down) -> Self {
4559 Self::Down
4560 }
4561}
4562
4563impl From<Down> for ::core::option::Option<crate::views::KeyPressPhases> {
4564 fn from(_: Down) -> Self {
4565 ::core::option::Option::Some(crate::views::KeyPressPhases::Down)
4566 }
4567}
4568
4569impl From<DownArrow> for crate::views::Key {
4570 fn from(_: DownArrow) -> Self {
4571 Self::DownArrow
4572 }
4573}
4574
4575impl From<DownArrow> for ::core::option::Option<crate::views::Key> {
4576 fn from(_: DownArrow) -> Self {
4577 ::core::option::Option::Some(crate::views::Key::DownArrow)
4578 }
4579}
4580
4581impl From<Downstream> for crate::views::TextSelectionAffinity {
4582 fn from(_: Downstream) -> Self {
4583 Self::Downstream
4584 }
4585}
4586
4587impl From<Downstream> for ::core::option::Option<crate::views::TextSelectionAffinity> {
4588 fn from(_: Downstream) -> Self {
4589 ::core::option::Option::Some(crate::views::TextSelectionAffinity::Downstream)
4590 }
4591}
4592
4593impl From<Draw> for crate::views::SymbolVariableValue {
4594 fn from(_: Draw) -> Self {
4595 Self::Draw
4596 }
4597}
4598
4599impl From<Draw> for ::core::option::Option<crate::views::SymbolVariableValue> {
4600 fn from(_: Draw) -> Self {
4601 ::core::option::Option::Some(crate::views::SymbolVariableValue::Draw)
4602 }
4603}
4604
4605impl From<EaseIn> for crate::views::AnimationKind {
4606 fn from(_: EaseIn) -> Self {
4607 Self::EaseIn
4608 }
4609}
4610
4611impl From<EaseIn> for ::core::option::Option<crate::views::AnimationKind> {
4612 fn from(_: EaseIn) -> Self {
4613 ::core::option::Option::Some(crate::views::AnimationKind::EaseIn)
4614 }
4615}
4616
4617impl From<EaseInOut> for crate::views::AnimationKind {
4618 fn from(_: EaseInOut) -> Self {
4619 Self::EaseInOut
4620 }
4621}
4622
4623impl From<EaseInOut> for ::core::option::Option<crate::views::AnimationKind> {
4624 fn from(_: EaseInOut) -> Self {
4625 ::core::option::Option::Some(crate::views::AnimationKind::EaseInOut)
4626 }
4627}
4628
4629impl From<EaseOut> for crate::views::AnimationKind {
4630 fn from(_: EaseOut) -> Self {
4631 Self::EaseOut
4632 }
4633}
4634
4635impl From<EaseOut> for ::core::option::Option<crate::views::AnimationKind> {
4636 fn from(_: EaseOut) -> Self {
4637 ::core::option::Option::Some(crate::views::AnimationKind::EaseOut)
4638 }
4639}
4640
4641impl From<Edit> for crate::views::ActionCategory {
4642 fn from(_: Edit) -> Self {
4643 Self::Edit
4644 }
4645}
4646
4647impl From<Edit> for ::core::option::Option<crate::views::ActionCategory> {
4648 fn from(_: Edit) -> Self {
4649 ::core::option::Option::Some(crate::views::ActionCategory::Edit)
4650 }
4651}
4652
4653impl From<Editor> for crate::views::ToolbarRole {
4654 fn from(_: Editor) -> Self {
4655 Self::Editor
4656 }
4657}
4658
4659impl From<Editor> for ::core::option::Option<crate::views::ToolbarRole> {
4660 fn from(_: Editor) -> Self {
4661 ::core::option::Option::Some(crate::views::ToolbarRole::Editor)
4662 }
4663}
4664
4665impl From<Ellipse> for crate::views::InsettableShape {
4666 fn from(_: Ellipse) -> Self {
4667 Self::Ellipse
4668 }
4669}
4670
4671impl From<Ellipse> for ::core::option::Option<crate::views::InsettableShape> {
4672 fn from(_: Ellipse) -> Self {
4673 ::core::option::Option::Some(crate::views::InsettableShape::Ellipse)
4674 }
4675}
4676
4677#[cfg(not(target_os = "macos"))]
4678impl From<EmailAddress> for crate::views::KeyboardType {
4679 fn from(_: EmailAddress) -> Self {
4680 Self::EmailAddress
4681 }
4682}
4683
4684#[cfg(not(target_os = "macos"))]
4685impl From<EmailAddress> for ::core::option::Option<crate::views::KeyboardType> {
4686 fn from(_: EmailAddress) -> Self {
4687 ::core::option::Option::Some(crate::views::KeyboardType::EmailAddress)
4688 }
4689}
4690
4691impl From<Enabled> for crate::views::AlternatingRowBackgroundBehavior {
4692 fn from(_: Enabled) -> Self {
4693 Self::Enabled
4694 }
4695}
4696
4697impl From<Enabled> for ::core::option::Option<crate::views::AlternatingRowBackgroundBehavior> {
4698 fn from(_: Enabled) -> Self {
4699 ::core::option::Option::Some(crate::views::AlternatingRowBackgroundBehavior::Enabled)
4700 }
4701}
4702
4703impl From<Enabled> for crate::views::ButtonRepeatBehavior {
4704 fn from(_: Enabled) -> Self {
4705 Self::Enabled
4706 }
4707}
4708
4709impl From<Enabled> for ::core::option::Option<crate::views::ButtonRepeatBehavior> {
4710 fn from(_: Enabled) -> Self {
4711 ::core::option::Option::Some(crate::views::ButtonRepeatBehavior::Enabled)
4712 }
4713}
4714
4715impl From<Enabled> for crate::views::MenuActionDismissBehavior {
4716 fn from(_: Enabled) -> Self {
4717 Self::Enabled
4718 }
4719}
4720
4721impl From<Enabled> for ::core::option::Option<crate::views::MenuActionDismissBehavior> {
4722 fn from(_: Enabled) -> Self {
4723 ::core::option::Option::Some(crate::views::MenuActionDismissBehavior::Enabled)
4724 }
4725}
4726
4727impl From<Enabled> for crate::views::PresentationBackgroundInteraction {
4728 fn from(_: Enabled) -> Self {
4729 Self::Enabled
4730 }
4731}
4732
4733impl From<Enabled> for ::core::option::Option<crate::views::PresentationBackgroundInteraction> {
4734 fn from(_: Enabled) -> Self {
4735 ::core::option::Option::Some(crate::views::PresentationBackgroundInteraction::Enabled)
4736 }
4737}
4738
4739impl From<Enabled> for crate::views::SpringLoadingBehavior {
4740 fn from(_: Enabled) -> Self {
4741 Self::Enabled
4742 }
4743}
4744
4745impl From<Enabled> for ::core::option::Option<crate::views::SpringLoadingBehavior> {
4746 fn from(_: Enabled) -> Self {
4747 ::core::option::Option::Some(crate::views::SpringLoadingBehavior::Enabled)
4748 }
4749}
4750
4751impl From<Enabled> for crate::views::WindowInteractionBehavior {
4752 fn from(_: Enabled) -> Self {
4753 Self::Enabled
4754 }
4755}
4756
4757impl From<Enabled> for ::core::option::Option<crate::views::WindowInteractionBehavior> {
4758 fn from(_: Enabled) -> Self {
4759 ::core::option::Option::Some(crate::views::WindowInteractionBehavior::Enabled)
4760 }
4761}
4762
4763impl From<EnabledTextSelectability> for crate::views::TextSelectability {
4764 fn from(_: EnabledTextSelectability) -> Self {
4765 Self::EnabledTextSelectability
4766 }
4767}
4768
4769impl From<EnabledTextSelectability> for ::core::option::Option<crate::views::TextSelectability> {
4770 fn from(_: EnabledTextSelectability) -> Self {
4771 ::core::option::Option::Some(crate::views::TextSelectability::EnabledTextSelectability)
4772 }
4773}
4774
4775impl From<End> for crate::views::Key {
4776 fn from(_: End) -> Self {
4777 Self::End
4778 }
4779}
4780
4781impl From<End> for ::core::option::Option<crate::views::Key> {
4782 fn from(_: End) -> Self {
4783 ::core::option::Option::Some(crate::views::Key::End)
4784 }
4785}
4786
4787impl From<Ended> for crate::views::HoverPhase {
4788 fn from(_: Ended) -> Self {
4789 Self::Ended
4790 }
4791}
4792
4793impl From<Ended> for ::core::option::Option<crate::views::HoverPhase> {
4794 fn from(_: Ended) -> Self {
4795 ::core::option::Option::Some(crate::views::HoverPhase::Ended)
4796 }
4797}
4798
4799impl From<EnumeratePackages> for crate::views::FileDialogBrowserOptions {
4800 fn from(_: EnumeratePackages) -> Self {
4801 Self::EnumeratePackages
4802 }
4803}
4804
4805impl From<EnumeratePackages> for ::core::option::Option<crate::views::FileDialogBrowserOptions> {
4806 fn from(_: EnumeratePackages) -> Self {
4807 ::core::option::Option::Some(crate::views::FileDialogBrowserOptions::EnumeratePackages)
4808 }
4809}
4810
4811impl From<Erased> for crate::views::Content {
4812 fn from(_: Erased) -> Self {
4813 Self::Erased
4814 }
4815}
4816
4817impl From<Erased> for ::core::option::Option<crate::views::Content> {
4818 fn from(_: Erased) -> Self {
4819 ::core::option::Option::Some(crate::views::Content::Erased)
4820 }
4821}
4822
4823impl From<Error> for crate::views::SensoryFeedback {
4824 fn from(_: Error) -> Self {
4825 Self::Error
4826 }
4827}
4828
4829impl From<Error> for ::core::option::Option<crate::views::SensoryFeedback> {
4830 fn from(_: Error) -> Self {
4831 ::core::option::Option::Some(crate::views::SensoryFeedback::Error)
4832 }
4833}
4834
4835impl From<Escape> for crate::views::ActionKind {
4836 fn from(_: Escape) -> Self {
4837 Self::Escape
4838 }
4839}
4840
4841impl From<Escape> for ::core::option::Option<crate::views::ActionKind> {
4842 fn from(_: Escape) -> Self {
4843 ::core::option::Option::Some(crate::views::ActionKind::Escape)
4844 }
4845}
4846
4847impl From<Escape> for crate::views::Key {
4848 fn from(_: Escape) -> Self {
4849 Self::Escape
4850 }
4851}
4852
4853impl From<Escape> for ::core::option::Option<crate::views::Key> {
4854 fn from(_: Escape) -> Self {
4855 ::core::option::Option::Some(crate::views::Key::Escape)
4856 }
4857}
4858
4859impl From<Expanded> for crate::views::FontWidth {
4860 fn from(_: Expanded) -> Self {
4861 Self::Expanded
4862 }
4863}
4864
4865impl From<Expanded> for ::core::option::Option<crate::views::FontWidth> {
4866 fn from(_: Expanded) -> Self {
4867 ::core::option::Option::Some(crate::views::FontWidth::Expanded)
4868 }
4869}
4870
4871impl From<ExpandedWindowToolbarStyle> for crate::views::WindowToolbarStyle {
4872 fn from(_: ExpandedWindowToolbarStyle) -> Self {
4873 Self::ExpandedWindowToolbarStyle
4874 }
4875}
4876
4877impl From<ExpandedWindowToolbarStyle> for ::core::option::Option<crate::views::WindowToolbarStyle> {
4878 fn from(_: ExpandedWindowToolbarStyle) -> Self {
4879 ::core::option::Option::Some(crate::views::WindowToolbarStyle::ExpandedWindowToolbarStyle)
4880 }
4881}
4882
4883impl From<ExtraLarge> for crate::views::ControlSize {
4884 fn from(_: ExtraLarge) -> Self {
4885 Self::ExtraLarge
4886 }
4887}
4888
4889impl From<ExtraLarge> for ::core::option::Option<crate::views::ControlSize> {
4890 fn from(_: ExtraLarge) -> Self {
4891 ::core::option::Option::Some(crate::views::ControlSize::ExtraLarge)
4892 }
4893}
4894
4895impl From<FieldDatePickerStyle> for crate::views::DatePickerStyle {
4896 fn from(_: FieldDatePickerStyle) -> Self {
4897 Self::FieldDatePickerStyle
4898 }
4899}
4900
4901impl From<FieldDatePickerStyle> for ::core::option::Option<crate::views::DatePickerStyle> {
4902 fn from(_: FieldDatePickerStyle) -> Self {
4903 ::core::option::Option::Some(crate::views::DatePickerStyle::FieldDatePickerStyle)
4904 }
4905}
4906
4907impl From<FileSystem> for crate::views::TextContentType {
4908 fn from(_: FileSystem) -> Self {
4909 Self::FileSystem
4910 }
4911}
4912
4913impl From<FileSystem> for ::core::option::Option<crate::views::TextContentType> {
4914 fn from(_: FileSystem) -> Self {
4915 ::core::option::Option::Some(crate::views::TextContentType::FileSystem)
4916 }
4917}
4918
4919impl From<Fill> for crate::views::ContentMode {
4920 fn from(_: Fill) -> Self {
4921 Self::Fill
4922 }
4923}
4924
4925impl From<Fill> for ::core::option::Option<crate::views::ContentMode> {
4926 fn from(_: Fill) -> Self {
4927 ::core::option::Option::Some(crate::views::ContentMode::Fill)
4928 }
4929}
4930
4931impl From<Fill> for crate::views::SymbolVariants {
4932 fn from(_: Fill) -> Self {
4933 Self::Fill
4934 }
4935}
4936
4937impl From<Fill> for ::core::option::Option<crate::views::SymbolVariants> {
4938 fn from(_: Fill) -> Self {
4939 ::core::option::Option::Some(crate::views::SymbolVariants::Fill)
4940 }
4941}
4942
4943impl From<FirstTextBaseline> for crate::views::VerticalAlignment {
4944 fn from(_: FirstTextBaseline) -> Self {
4945 Self::FirstTextBaseline
4946 }
4947}
4948
4949impl From<FirstTextBaseline> for ::core::option::Option<crate::views::VerticalAlignment> {
4950 fn from(_: FirstTextBaseline) -> Self {
4951 ::core::option::Option::Some(crate::views::VerticalAlignment::FirstTextBaseline)
4952 }
4953}
4954
4955impl From<Fit> for crate::views::ContentMode {
4956 fn from(_: Fit) -> Self {
4957 Self::Fit
4958 }
4959}
4960
4961impl From<Fit> for ::core::option::Option<crate::views::ContentMode> {
4962 fn from(_: Fit) -> Self {
4963 ::core::option::Option::Some(crate::views::ContentMode::Fit)
4964 }
4965}
4966
4967impl From<Fitted> for crate::views::ButtonSizing {
4968 fn from(_: Fitted) -> Self {
4969 Self::Fitted
4970 }
4971}
4972
4973impl From<Fitted> for ::core::option::Option<crate::views::ButtonSizing> {
4974 fn from(_: Fitted) -> Self {
4975 ::core::option::Option::Some(crate::views::ButtonSizing::Fitted)
4976 }
4977}
4978
4979impl From<Fixed> for crate::views::MenuOrder {
4980 fn from(_: Fixed) -> Self {
4981 Self::Fixed
4982 }
4983}
4984
4985impl From<Fixed> for ::core::option::Option<crate::views::MenuOrder> {
4986 fn from(_: Fixed) -> Self {
4987 ::core::option::Option::Some(crate::views::MenuOrder::Fixed)
4988 }
4989}
4990
4991impl From<Flat> for crate::views::SymbolColorRendering {
4992 fn from(_: Flat) -> Self {
4993 Self::Flat
4994 }
4995}
4996
4997impl From<Flat> for ::core::option::Option<crate::views::SymbolColorRendering> {
4998 fn from(_: Flat) -> Self {
4999 ::core::option::Option::Some(crate::views::SymbolColorRendering::Flat)
5000 }
5001}
5002
5003impl From<Flexible> for crate::views::ButtonSizing {
5004 fn from(_: Flexible) -> Self {
5005 Self::Flexible
5006 }
5007}
5008
5009impl From<Flexible> for ::core::option::Option<crate::views::ButtonSizing> {
5010 fn from(_: Flexible) -> Self {
5011 ::core::option::Option::Some(crate::views::ButtonSizing::Flexible)
5012 }
5013}
5014
5015impl From<FontPanel> for crate::views::TextInputFormattingControlPlacementSet {
5016 fn from(_: FontPanel) -> Self {
5017 Self::FontPanel
5018 }
5019}
5020
5021impl From<FontPanel> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
5022 fn from(_: FontPanel) -> Self {
5023 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::FontPanel)
5024 }
5025}
5026
5027impl From<Footnote> for crate::views::TextStyle {
5028 fn from(_: Footnote) -> Self {
5029 Self::Footnote
5030 }
5031}
5032
5033impl From<Footnote> for ::core::option::Option<crate::views::TextStyle> {
5034 fn from(_: Footnote) -> Self {
5035 ::core::option::Option::Some(crate::views::TextStyle::Footnote)
5036 }
5037}
5038
5039impl From<Forbidden> for crate::views::DropOperation {
5040 fn from(_: Forbidden) -> Self {
5041 Self::Forbidden
5042 }
5043}
5044
5045impl From<Forbidden> for ::core::option::Option<crate::views::DropOperation> {
5046 fn from(_: Forbidden) -> Self {
5047 ::core::option::Option::Some(crate::views::DropOperation::Forbidden)
5048 }
5049}
5050
5051impl From<ForegroundStyle> for crate::views::ShapeStyle {
5052 fn from(_: ForegroundStyle) -> Self {
5053 Self::ForegroundStyle
5054 }
5055}
5056
5057impl From<ForegroundStyle> for ::core::option::Option<crate::views::ShapeStyle> {
5058 fn from(_: ForegroundStyle) -> Self {
5059 ::core::option::Option::Some(crate::views::ShapeStyle::ForegroundStyle)
5060 }
5061}
5062
5063impl From<Frame> for crate::views::GeometryProperties {
5064 fn from(_: Frame) -> Self {
5065 Self::Frame
5066 }
5067}
5068
5069impl From<Frame> for ::core::option::Option<crate::views::GeometryProperties> {
5070 fn from(_: Frame) -> Self {
5071 ::core::option::Option::Some(crate::views::GeometryProperties::Frame)
5072 }
5073}
5074
5075impl From<FullScreenCover> for crate::views::PresentationAdaptation {
5076 fn from(_: FullScreenCover) -> Self {
5077 Self::FullScreenCover
5078 }
5079}
5080
5081impl From<FullScreenCover> for ::core::option::Option<crate::views::PresentationAdaptation> {
5082 fn from(_: FullScreenCover) -> Self {
5083 ::core::option::Option::Some(crate::views::PresentationAdaptation::FullScreenCover)
5084 }
5085}
5086
5087impl From<Function> for crate::views::EventModifier {
5088 fn from(_: Function) -> Self {
5089 Self::Function
5090 }
5091}
5092
5093impl From<Function> for ::core::option::Option<crate::views::EventModifier> {
5094 fn from(_: Function) -> Self {
5095 ::core::option::Option::Some(crate::views::EventModifier::Function)
5096 }
5097}
5098
5099impl From<Gesture> for crate::views::GestureMask {
5100 fn from(_: Gesture) -> Self {
5101 Self::Gesture
5102 }
5103}
5104
5105impl From<Gesture> for ::core::option::Option<crate::views::GestureMask> {
5106 fn from(_: Gesture) -> Self {
5107 ::core::option::Option::Some(crate::views::GestureMask::Gesture)
5108 }
5109}
5110
5111impl From<Glass> for crate::views::ButtonStyle {
5112 fn from(_: Glass) -> Self {
5113 Self::Glass
5114 }
5115}
5116
5117impl From<Glass> for ::core::option::Option<crate::views::ButtonStyle> {
5118 fn from(_: Glass) -> Self {
5119 ::core::option::Option::Some(crate::views::ButtonStyle::Glass)
5120 }
5121}
5122
5123impl From<Global> for crate::views::CoordinateSpace {
5124 fn from(_: Global) -> Self {
5125 Self::Global
5126 }
5127}
5128
5129impl From<Global> for ::core::option::Option<crate::views::CoordinateSpace> {
5130 fn from(_: Global) -> Self {
5131 ::core::option::Option::Some(crate::views::CoordinateSpace::Global)
5132 }
5133}
5134
5135impl From<Go> for crate::views::SubmitLabel {
5136 fn from(_: Go) -> Self {
5137 Self::Go
5138 }
5139}
5140
5141impl From<Go> for ::core::option::Option<crate::views::SubmitLabel> {
5142 fn from(_: Go) -> Self {
5143 ::core::option::Option::Some(crate::views::SubmitLabel::Go)
5144 }
5145}
5146
5147impl From<GrabActive> for crate::views::PointerStyle {
5148 fn from(_: GrabActive) -> Self {
5149 Self::GrabActive
5150 }
5151}
5152
5153impl From<GrabActive> for ::core::option::Option<crate::views::PointerStyle> {
5154 fn from(_: GrabActive) -> Self {
5155 ::core::option::Option::Some(crate::views::PointerStyle::GrabActive)
5156 }
5157}
5158
5159impl From<GrabIdle> for crate::views::PointerStyle {
5160 fn from(_: GrabIdle) -> Self {
5161 Self::GrabIdle
5162 }
5163}
5164
5165impl From<GrabIdle> for ::core::option::Option<crate::views::PointerStyle> {
5166 fn from(_: GrabIdle) -> Self {
5167 ::core::option::Option::Some(crate::views::PointerStyle::GrabIdle)
5168 }
5169}
5170
5171impl From<Gradient> for crate::views::SymbolColorRendering {
5172 fn from(_: Gradient) -> Self {
5173 Self::Gradient
5174 }
5175}
5176
5177impl From<Gradient> for ::core::option::Option<crate::views::SymbolColorRendering> {
5178 fn from(_: Gradient) -> Self {
5179 ::core::option::Option::Some(crate::views::SymbolColorRendering::Gradient)
5180 }
5181}
5182
5183impl From<GraphicalDatePickerStyle> for crate::views::DatePickerStyle {
5184 fn from(_: GraphicalDatePickerStyle) -> Self {
5185 Self::GraphicalDatePickerStyle
5186 }
5187}
5188
5189impl From<GraphicalDatePickerStyle> for ::core::option::Option<crate::views::DatePickerStyle> {
5190 fn from(_: GraphicalDatePickerStyle) -> Self {
5191 ::core::option::Option::Some(crate::views::DatePickerStyle::GraphicalDatePickerStyle)
5192 }
5193}
5194
5195impl From<Gray> for crate::views::SystemColor {
5196 fn from(_: Gray) -> Self {
5197 Self::Gray
5198 }
5199}
5200
5201impl From<Gray> for ::core::option::Option<crate::views::SystemColor> {
5202 fn from(_: Gray) -> Self {
5203 ::core::option::Option::Some(crate::views::SystemColor::Gray)
5204 }
5205}
5206
5207impl From<Green> for crate::views::SystemColor {
5208 fn from(_: Green) -> Self {
5209 Self::Green
5210 }
5211}
5212
5213impl From<Green> for ::core::option::Option<crate::views::SystemColor> {
5214 fn from(_: Green) -> Self {
5215 ::core::option::Option::Some(crate::views::SystemColor::Green)
5216 }
5217}
5218
5219#[cfg(target_os = "macos")]
5220impl From<Grouped> for crate::views::TabStyle {
5221 fn from(_: Grouped) -> Self {
5222 Self::Grouped
5223 }
5224}
5225
5226#[cfg(target_os = "macos")]
5227impl From<Grouped> for ::core::option::Option<crate::views::TabStyle> {
5228 fn from(_: Grouped) -> Self {
5229 ::core::option::Option::Some(crate::views::TabStyle::Grouped)
5230 }
5231}
5232
5233impl From<GroupedFormStyle> for crate::views::FormStyle {
5234 fn from(_: GroupedFormStyle) -> Self {
5235 Self::GroupedFormStyle
5236 }
5237}
5238
5239impl From<GroupedFormStyle> for ::core::option::Option<crate::views::FormStyle> {
5240 fn from(_: GroupedFormStyle) -> Self {
5241 ::core::option::Option::Some(crate::views::FormStyle::GroupedFormStyle)
5242 }
5243}
5244
5245impl From<H> for crate::views::StackKind {
5246 fn from(_: H) -> Self {
5247 Self::H
5248 }
5249}
5250
5251impl From<H> for ::core::option::Option<crate::views::StackKind> {
5252 fn from(_: H) -> Self {
5253 ::core::option::Option::Some(crate::views::StackKind::H)
5254 }
5255}
5256
5257impl From<H1> for crate::views::HeadingLevel {
5258 fn from(_: H1) -> Self {
5259 Self::H1
5260 }
5261}
5262
5263impl From<H1> for ::core::option::Option<crate::views::HeadingLevel> {
5264 fn from(_: H1) -> Self {
5265 ::core::option::Option::Some(crate::views::HeadingLevel::H1)
5266 }
5267}
5268
5269impl From<H2> for crate::views::HeadingLevel {
5270 fn from(_: H2) -> Self {
5271 Self::H2
5272 }
5273}
5274
5275impl From<H2> for ::core::option::Option<crate::views::HeadingLevel> {
5276 fn from(_: H2) -> Self {
5277 ::core::option::Option::Some(crate::views::HeadingLevel::H2)
5278 }
5279}
5280
5281impl From<H3> for crate::views::HeadingLevel {
5282 fn from(_: H3) -> Self {
5283 Self::H3
5284 }
5285}
5286
5287impl From<H3> for ::core::option::Option<crate::views::HeadingLevel> {
5288 fn from(_: H3) -> Self {
5289 ::core::option::Option::Some(crate::views::HeadingLevel::H3)
5290 }
5291}
5292
5293impl From<H4> for crate::views::HeadingLevel {
5294 fn from(_: H4) -> Self {
5295 Self::H4
5296 }
5297}
5298
5299impl From<H4> for ::core::option::Option<crate::views::HeadingLevel> {
5300 fn from(_: H4) -> Self {
5301 ::core::option::Option::Some(crate::views::HeadingLevel::H4)
5302 }
5303}
5304
5305impl From<H5> for crate::views::HeadingLevel {
5306 fn from(_: H5) -> Self {
5307 Self::H5
5308 }
5309}
5310
5311impl From<H5> for ::core::option::Option<crate::views::HeadingLevel> {
5312 fn from(_: H5) -> Self {
5313 ::core::option::Option::Some(crate::views::HeadingLevel::H5)
5314 }
5315}
5316
5317impl From<H6> for crate::views::HeadingLevel {
5318 fn from(_: H6) -> Self {
5319 Self::H6
5320 }
5321}
5322
5323impl From<H6> for ::core::option::Option<crate::views::HeadingLevel> {
5324 fn from(_: H6) -> Self {
5325 ::core::option::Option::Some(crate::views::HeadingLevel::H6)
5326 }
5327}
5328
5329impl From<Handled> for crate::views::KeyPressResult {
5330 fn from(_: Handled) -> Self {
5331 Self::Handled
5332 }
5333}
5334
5335impl From<Handled> for ::core::option::Option<crate::views::KeyPressResult> {
5336 fn from(_: Handled) -> Self {
5337 ::core::option::Option::Some(crate::views::KeyPressResult::Handled)
5338 }
5339}
5340
5341impl From<Hard> for crate::views::ScrollEdgeEffectStyle {
5342 fn from(_: Hard) -> Self {
5343 Self::Hard
5344 }
5345}
5346
5347impl From<Hard> for ::core::option::Option<crate::views::ScrollEdgeEffectStyle> {
5348 fn from(_: Hard) -> Self {
5349 ::core::option::Option::Some(crate::views::ScrollEdgeEffectStyle::Hard)
5350 }
5351}
5352
5353impl From<Head> for crate::views::TruncationMode {
5354 fn from(_: Head) -> Self {
5355 Self::Head
5356 }
5357}
5358
5359impl From<Head> for ::core::option::Option<crate::views::TruncationMode> {
5360 fn from(_: Head) -> Self {
5361 ::core::option::Option::Some(crate::views::TruncationMode::Head)
5362 }
5363}
5364
5365impl From<Headline> for crate::views::TextStyle {
5366 fn from(_: Headline) -> Self {
5367 Self::Headline
5368 }
5369}
5370
5371impl From<Headline> for ::core::option::Option<crate::views::TextStyle> {
5372 fn from(_: Headline) -> Self {
5373 ::core::option::Option::Some(crate::views::TextStyle::Headline)
5374 }
5375}
5376
5377impl From<Heavy> for crate::views::Weight {
5378 fn from(_: Heavy) -> Self {
5379 Self::Heavy
5380 }
5381}
5382
5383impl From<Heavy> for ::core::option::Option<crate::views::Weight> {
5384 fn from(_: Heavy) -> Self {
5385 ::core::option::Option::Some(crate::views::Weight::Heavy)
5386 }
5387}
5388
5389impl From<Hidden> for crate::views::ScrollIndicatorVisibility {
5390 fn from(_: Hidden) -> Self {
5391 Self::Hidden
5392 }
5393}
5394
5395impl From<Hidden> for ::core::option::Option<crate::views::ScrollIndicatorVisibility> {
5396 fn from(_: Hidden) -> Self {
5397 ::core::option::Option::Some(crate::views::ScrollIndicatorVisibility::Hidden)
5398 }
5399}
5400
5401impl From<Hidden> for crate::views::Visibility {
5402 fn from(_: Hidden) -> Self {
5403 Self::Hidden
5404 }
5405}
5406
5407impl From<Hidden> for ::core::option::Option<crate::views::Visibility> {
5408 fn from(_: Hidden) -> Self {
5409 ::core::option::Option::Some(crate::views::Visibility::Hidden)
5410 }
5411}
5412
5413impl From<HiddenTitleBarWindowStyle> for crate::views::WindowStyle {
5414 fn from(_: HiddenTitleBarWindowStyle) -> Self {
5415 Self::HiddenTitleBarWindowStyle
5416 }
5417}
5418
5419impl From<HiddenTitleBarWindowStyle> for ::core::option::Option<crate::views::WindowStyle> {
5420 fn from(_: HiddenTitleBarWindowStyle) -> Self {
5421 ::core::option::Option::Some(crate::views::WindowStyle::HiddenTitleBarWindowStyle)
5422 }
5423}
5424
5425impl From<Hierarchical> for crate::views::SymbolRenderingMode {
5426 fn from(_: Hierarchical) -> Self {
5427 Self::Hierarchical
5428 }
5429}
5430
5431impl From<Hierarchical> for ::core::option::Option<crate::views::SymbolRenderingMode> {
5432 fn from(_: Hierarchical) -> Self {
5433 ::core::option::Option::Some(crate::views::SymbolRenderingMode::Hierarchical)
5434 }
5435}
5436
5437impl From<High> for crate::views::CustomContentImportance {
5438 fn from(_: High) -> Self {
5439 Self::High
5440 }
5441}
5442
5443impl From<High> for ::core::option::Option<crate::views::CustomContentImportance> {
5444 fn from(_: High) -> Self {
5445 ::core::option::Option::Some(crate::views::CustomContentImportance::High)
5446 }
5447}
5448
5449impl From<High> for crate::views::DynamicRange {
5450 fn from(_: High) -> Self {
5451 Self::High
5452 }
5453}
5454
5455impl From<High> for ::core::option::Option<crate::views::DynamicRange> {
5456 fn from(_: High) -> Self {
5457 ::core::option::Option::Some(crate::views::DynamicRange::High)
5458 }
5459}
5460
5461impl From<High> for crate::views::Interpolation {
5462 fn from(_: High) -> Self {
5463 Self::High
5464 }
5465}
5466
5467impl From<High> for ::core::option::Option<crate::views::Interpolation> {
5468 fn from(_: High) -> Self {
5469 ::core::option::Option::Some(crate::views::Interpolation::High)
5470 }
5471}
5472
5473impl From<High> for crate::views::TaskPriority {
5474 fn from(_: High) -> Self {
5475 Self::High
5476 }
5477}
5478
5479impl From<High> for ::core::option::Option<crate::views::TaskPriority> {
5480 fn from(_: High) -> Self {
5481 ::core::option::Option::Some(crate::views::TaskPriority::High)
5482 }
5483}
5484
5485#[cfg(not(target_os = "macos"))]
5486impl From<Highlight> for crate::views::HoverEffect {
5487 fn from(_: Highlight) -> Self {
5488 Self::Highlight
5489 }
5490}
5491
5492#[cfg(not(target_os = "macos"))]
5493impl From<Highlight> for ::core::option::Option<crate::views::HoverEffect> {
5494 fn from(_: Highlight) -> Self {
5495 ::core::option::Option::Some(crate::views::HoverEffect::Highlight)
5496 }
5497}
5498
5499impl From<Home> for crate::views::Key {
5500 fn from(_: Home) -> Self {
5501 Self::Home
5502 }
5503}
5504
5505impl From<Home> for ::core::option::Option<crate::views::Key> {
5506 fn from(_: Home) -> Self {
5507 ::core::option::Option::Some(crate::views::Key::Home)
5508 }
5509}
5510
5511impl From<Horizontal> for crate::views::Axis {
5512 fn from(_: Horizontal) -> Self {
5513 Self::Horizontal
5514 }
5515}
5516
5517impl From<Horizontal> for ::core::option::Option<crate::views::Axis> {
5518 fn from(_: Horizontal) -> Self {
5519 ::core::option::Option::Some(crate::views::Axis::Horizontal)
5520 }
5521}
5522
5523impl From<Horizontal> for crate::views::AxisSet {
5524 fn from(_: Horizontal) -> Self {
5525 Self::Horizontal
5526 }
5527}
5528
5529impl From<Horizontal> for ::core::option::Option<crate::views::AxisSet> {
5530 fn from(_: Horizontal) -> Self {
5531 ::core::option::Option::Some(crate::views::AxisSet::Horizontal)
5532 }
5533}
5534
5535impl From<Horizontal> for crate::views::EdgeSet {
5536 fn from(_: Horizontal) -> Self {
5537 Self::Horizontal
5538 }
5539}
5540
5541impl From<Horizontal> for ::core::option::Option<crate::views::EdgeSet> {
5542 fn from(_: Horizontal) -> Self {
5543 ::core::option::Option::Some(crate::views::EdgeSet::Horizontal)
5544 }
5545}
5546
5547impl From<Horizontal> for crate::views::EdgeSetMember {
5548 fn from(_: Horizontal) -> Self {
5549 Self::Horizontal
5550 }
5551}
5552
5553impl From<Horizontal> for ::core::option::Option<crate::views::EdgeSetMember> {
5554 fn from(_: Horizontal) -> Self {
5555 ::core::option::Option::Some(crate::views::EdgeSetMember::Horizontal)
5556 }
5557}
5558
5559impl From<HorizontalText> for crate::views::PointerStyle {
5560 fn from(_: HorizontalText) -> Self {
5561 Self::HorizontalText
5562 }
5563}
5564
5565impl From<HorizontalText> for ::core::option::Option<crate::views::PointerStyle> {
5566 fn from(_: HorizontalText) -> Self {
5567 ::core::option::Option::Some(crate::views::PointerStyle::HorizontalText)
5568 }
5569}
5570
5571impl From<HourAndMinute> for crate::views::DatePickerComponent {
5572 fn from(_: HourAndMinute) -> Self {
5573 Self::HourAndMinute
5574 }
5575}
5576
5577impl From<HourAndMinute> for ::core::option::Option<crate::views::DatePickerComponent> {
5578 fn from(_: HourAndMinute) -> Self {
5579 ::core::option::Option::Some(crate::views::DatePickerComponent::HourAndMinute)
5580 }
5581}
5582
5583impl From<IconOnlyLabelStyle> for crate::views::LabelStyle {
5584 fn from(_: IconOnlyLabelStyle) -> Self {
5585 Self::IconOnlyLabelStyle
5586 }
5587}
5588
5589impl From<IconOnlyLabelStyle> for ::core::option::Option<crate::views::LabelStyle> {
5590 fn from(_: IconOnlyLabelStyle) -> Self {
5591 ::core::option::Option::Some(crate::views::LabelStyle::IconOnlyLabelStyle)
5592 }
5593}
5594
5595impl From<Identity> for crate::views::ContentTransition {
5596 fn from(_: Identity) -> Self {
5597 Self::Identity
5598 }
5599}
5600
5601impl From<Identity> for ::core::option::Option<crate::views::ContentTransition> {
5602 fn from(_: Identity) -> Self {
5603 ::core::option::Option::Some(crate::views::ContentTransition::Identity)
5604 }
5605}
5606
5607impl From<Identity> for crate::views::Glass {
5608 fn from(_: Identity) -> Self {
5609 Self::Identity
5610 }
5611}
5612
5613impl From<Identity> for ::core::option::Option<crate::views::Glass> {
5614 fn from(_: Identity) -> Self {
5615 ::core::option::Option::Some(crate::views::Glass::Identity)
5616 }
5617}
5618
5619impl From<Identity> for crate::views::GlassEffectTransition {
5620 fn from(_: Identity) -> Self {
5621 Self::Identity
5622 }
5623}
5624
5625impl From<Identity> for ::core::option::Option<crate::views::GlassEffectTransition> {
5626 fn from(_: Identity) -> Self {
5627 ::core::option::Option::Some(crate::views::GlassEffectTransition::Identity)
5628 }
5629}
5630
5631impl From<Identity> for crate::views::ScrollTransitionConfiguration {
5632 fn from(_: Identity) -> Self {
5633 Self::Identity
5634 }
5635}
5636
5637impl From<Identity> for ::core::option::Option<crate::views::ScrollTransitionConfiguration> {
5638 fn from(_: Identity) -> Self {
5639 ::core::option::Option::Some(crate::views::ScrollTransitionConfiguration::Identity)
5640 }
5641}
5642
5643impl From<Identity> for crate::views::TransitionPhase {
5644 fn from(_: Identity) -> Self {
5645 Self::Identity
5646 }
5647}
5648
5649impl From<Identity> for ::core::option::Option<crate::views::TransitionPhase> {
5650 fn from(_: Identity) -> Self {
5651 ::core::option::Option::Some(crate::views::TransitionPhase::Identity)
5652 }
5653}
5654
5655impl From<Ignore> for crate::views::AccessibilityChildBehavior {
5656 fn from(_: Ignore) -> Self {
5657 Self::Ignore
5658 }
5659}
5660
5661impl From<Ignore> for ::core::option::Option<crate::views::AccessibilityChildBehavior> {
5662 fn from(_: Ignore) -> Self {
5663 ::core::option::Option::Some(crate::views::AccessibilityChildBehavior::Ignore)
5664 }
5665}
5666
5667impl From<Ignored> for crate::views::KeyPressResult {
5668 fn from(_: Ignored) -> Self {
5669 Self::Ignored
5670 }
5671}
5672
5673impl From<Ignored> for ::core::option::Option<crate::views::KeyPressResult> {
5674 fn from(_: Ignored) -> Self {
5675 ::core::option::Option::Some(crate::views::KeyPressResult::Ignored)
5676 }
5677}
5678
5679impl From<Immediately> for crate::views::ScrollDismissesKeyboardMode {
5680 fn from(_: Immediately) -> Self {
5681 Self::Immediately
5682 }
5683}
5684
5685impl From<Immediately> for ::core::option::Option<crate::views::ScrollDismissesKeyboardMode> {
5686 fn from(_: Immediately) -> Self {
5687 ::core::option::Option::Some(crate::views::ScrollDismissesKeyboardMode::Immediately)
5688 }
5689}
5690
5691impl From<Impact> for crate::views::SensoryFeedback {
5692 fn from(_: Impact) -> Self {
5693 Self::Impact
5694 }
5695}
5696
5697impl From<Impact> for ::core::option::Option<crate::views::SensoryFeedback> {
5698 fn from(_: Impact) -> Self {
5699 ::core::option::Option::Some(crate::views::SensoryFeedback::Impact)
5700 }
5701}
5702
5703impl From<Inactive> for crate::views::MaterialActiveAppearance {
5704 fn from(_: Inactive) -> Self {
5705 Self::Inactive
5706 }
5707}
5708
5709impl From<Inactive> for ::core::option::Option<crate::views::MaterialActiveAppearance> {
5710 fn from(_: Inactive) -> Self {
5711 ::core::option::Option::Some(crate::views::MaterialActiveAppearance::Inactive)
5712 }
5713}
5714
5715impl From<IncludeHiddenFiles> for crate::views::FileDialogBrowserOptions {
5716 fn from(_: IncludeHiddenFiles) -> Self {
5717 Self::IncludeHiddenFiles
5718 }
5719}
5720
5721impl From<IncludeHiddenFiles> for ::core::option::Option<crate::views::FileDialogBrowserOptions> {
5722 fn from(_: IncludeHiddenFiles) -> Self {
5723 ::core::option::Option::Some(crate::views::FileDialogBrowserOptions::IncludeHiddenFiles)
5724 }
5725}
5726
5727impl From<Increase> for crate::views::SensoryFeedback {
5728 fn from(_: Increase) -> Self {
5729 Self::Increase
5730 }
5731}
5732
5733impl From<Increase> for ::core::option::Option<crate::views::SensoryFeedback> {
5734 fn from(_: Increase) -> Self {
5735 ::core::option::Option::Some(crate::views::SensoryFeedback::Increase)
5736 }
5737}
5738
5739impl From<Increased> for crate::views::BadgeProminence {
5740 fn from(_: Increased) -> Self {
5741 Self::Increased
5742 }
5743}
5744
5745impl From<Increased> for ::core::option::Option<crate::views::BadgeProminence> {
5746 fn from(_: Increased) -> Self {
5747 ::core::option::Option::Some(crate::views::BadgeProminence::Increased)
5748 }
5749}
5750
5751impl From<Increased> for crate::views::Prominence {
5752 fn from(_: Increased) -> Self {
5753 Self::Increased
5754 }
5755}
5756
5757impl From<Increased> for ::core::option::Option<crate::views::Prominence> {
5758 fn from(_: Increased) -> Self {
5759 ::core::option::Option::Some(crate::views::Prominence::Increased)
5760 }
5761}
5762
5763impl From<Indigo> for crate::views::SystemColor {
5764 fn from(_: Indigo) -> Self {
5765 Self::Indigo
5766 }
5767}
5768
5769impl From<Indigo> for ::core::option::Option<crate::views::SystemColor> {
5770 fn from(_: Indigo) -> Self {
5771 ::core::option::Option::Some(crate::views::SystemColor::Indigo)
5772 }
5773}
5774
5775impl From<InitialOffset> for crate::views::ScrollAnchorRole {
5776 fn from(_: InitialOffset) -> Self {
5777 Self::InitialOffset
5778 }
5779}
5780
5781impl From<InitialOffset> for ::core::option::Option<crate::views::ScrollAnchorRole> {
5782 fn from(_: InitialOffset) -> Self {
5783 ::core::option::Option::Some(crate::views::ScrollAnchorRole::InitialOffset)
5784 }
5785}
5786
5787#[cfg(not(target_os = "macos"))]
5788impl From<Inline> for crate::views::TitleDisplayMode {
5789 fn from(_: Inline) -> Self {
5790 Self::Inline
5791 }
5792}
5793
5794#[cfg(not(target_os = "macos"))]
5795impl From<Inline> for ::core::option::Option<crate::views::TitleDisplayMode> {
5796 fn from(_: Inline) -> Self {
5797 ::core::option::Option::Some(crate::views::TitleDisplayMode::Inline)
5798 }
5799}
5800
5801impl From<Inline> for crate::views::ToolbarTitleDisplayMode {
5802 fn from(_: Inline) -> Self {
5803 Self::Inline
5804 }
5805}
5806
5807impl From<Inline> for ::core::option::Option<crate::views::ToolbarTitleDisplayMode> {
5808 fn from(_: Inline) -> Self {
5809 ::core::option::Option::Some(crate::views::ToolbarTitleDisplayMode::Inline)
5810 }
5811}
5812
5813impl From<InlineLarge> for crate::views::ToolbarTitleDisplayMode {
5814 fn from(_: InlineLarge) -> Self {
5815 Self::InlineLarge
5816 }
5817}
5818
5819impl From<InlineLarge> for ::core::option::Option<crate::views::ToolbarTitleDisplayMode> {
5820 fn from(_: InlineLarge) -> Self {
5821 ::core::option::Option::Some(crate::views::ToolbarTitleDisplayMode::InlineLarge)
5822 }
5823}
5824
5825impl From<InlinePickerStyle> for crate::views::PickerStyle {
5826 fn from(_: InlinePickerStyle) -> Self {
5827 Self::InlinePickerStyle
5828 }
5829}
5830
5831impl From<InlinePickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
5832 fn from(_: InlinePickerStyle) -> Self {
5833 ::core::option::Option::Some(crate::views::PickerStyle::InlinePickerStyle)
5834 }
5835}
5836
5837#[cfg(not(target_os = "macos"))]
5838impl From<InputAssistant> for crate::views::TextInputFormattingControlPlacementSet {
5839 fn from(_: InputAssistant) -> Self {
5840 Self::InputAssistant
5841 }
5842}
5843
5844#[cfg(not(target_os = "macos"))]
5845impl From<InputAssistant> for ::core::option::Option<crate::views::TextInputFormattingControlPlacementSet> {
5846 fn from(_: InputAssistant) -> Self {
5847 ::core::option::Option::Some(crate::views::TextInputFormattingControlPlacementSet::InputAssistant)
5848 }
5849}
5850
5851impl From<InsetListStyle> for crate::views::ListStyle {
5852 fn from(_: InsetListStyle) -> Self {
5853 Self::InsetListStyle
5854 }
5855}
5856
5857impl From<InsetListStyle> for ::core::option::Option<crate::views::ListStyle> {
5858 fn from(_: InsetListStyle) -> Self {
5859 ::core::option::Option::Some(crate::views::ListStyle::InsetListStyle)
5860 }
5861}
5862
5863impl From<InsetTableStyle> for crate::views::TableStyle {
5864 fn from(_: InsetTableStyle) -> Self {
5865 Self::InsetTableStyle
5866 }
5867}
5868
5869impl From<InsetTableStyle> for ::core::option::Option<crate::views::TableStyle> {
5870 fn from(_: InsetTableStyle) -> Self {
5871 ::core::option::Option::Some(crate::views::TableStyle::InsetTableStyle)
5872 }
5873}
5874
5875impl From<Int> for crate::views::HashableKind {
5876 fn from(_: Int) -> Self {
5877 Self::Int
5878 }
5879}
5880
5881impl From<Int> for ::core::option::Option<crate::views::HashableKind> {
5882 fn from(_: Int) -> Self {
5883 ::core::option::Option::Some(crate::views::HashableKind::Int)
5884 }
5885}
5886
5887#[cfg(not(target_os = "macos"))]
5888impl From<Interactive> for crate::views::IndexBackground {
5889 fn from(_: Interactive) -> Self {
5890 Self::Interactive
5891 }
5892}
5893
5894#[cfg(not(target_os = "macos"))]
5895impl From<Interactive> for ::core::option::Option<crate::views::IndexBackground> {
5896 fn from(_: Interactive) -> Self {
5897 ::core::option::Option::Some(crate::views::IndexBackground::Interactive)
5898 }
5899}
5900
5901impl From<Interactive> for crate::views::ScrollTransitionConfiguration {
5902 fn from(_: Interactive) -> Self {
5903 Self::Interactive
5904 }
5905}
5906
5907impl From<Interactive> for ::core::option::Option<crate::views::ScrollTransitionConfiguration> {
5908 fn from(_: Interactive) -> Self {
5909 ::core::option::Option::Some(crate::views::ScrollTransitionConfiguration::Interactive)
5910 }
5911}
5912
5913impl From<Interactively> for crate::views::ScrollDismissesKeyboardMode {
5914 fn from(_: Interactively) -> Self {
5915 Self::Interactively
5916 }
5917}
5918
5919impl From<Interactively> for ::core::option::Option<crate::views::ScrollDismissesKeyboardMode> {
5920 fn from(_: Interactively) -> Self {
5921 ::core::option::Option::Some(crate::views::ScrollDismissesKeyboardMode::Interactively)
5922 }
5923}
5924
5925impl From<Interpolate> for crate::views::ContentTransition {
5926 fn from(_: Interpolate) -> Self {
5927 Self::Interpolate
5928 }
5929}
5930
5931impl From<Interpolate> for ::core::option::Option<crate::views::ContentTransition> {
5932 fn from(_: Interpolate) -> Self {
5933 ::core::option::Option::Some(crate::views::ContentTransition::Interpolate)
5934 }
5935}
5936
5937impl From<Invalidated> for crate::views::RedactionReasons {
5938 fn from(_: Invalidated) -> Self {
5939 Self::Invalidated
5940 }
5941}
5942
5943impl From<Invalidated> for ::core::option::Option<crate::views::RedactionReasons> {
5944 fn from(_: Invalidated) -> Self {
5945 ::core::option::Option::Some(crate::views::RedactionReasons::Invalidated)
5946 }
5947}
5948
5949impl From<IsBackButton> for crate::views::AccessibilityTrait {
5950 fn from(_: IsBackButton) -> Self {
5951 Self::IsBackButton
5952 }
5953}
5954
5955impl From<IsBackButton> for ::core::option::Option<crate::views::AccessibilityTrait> {
5956 fn from(_: IsBackButton) -> Self {
5957 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsBackButton)
5958 }
5959}
5960
5961impl From<IsButton> for crate::views::AccessibilityTrait {
5962 fn from(_: IsButton) -> Self {
5963 Self::IsButton
5964 }
5965}
5966
5967impl From<IsButton> for ::core::option::Option<crate::views::AccessibilityTrait> {
5968 fn from(_: IsButton) -> Self {
5969 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsButton)
5970 }
5971}
5972
5973impl From<IsHeader> for crate::views::AccessibilityTrait {
5974 fn from(_: IsHeader) -> Self {
5975 Self::IsHeader
5976 }
5977}
5978
5979impl From<IsHeader> for ::core::option::Option<crate::views::AccessibilityTrait> {
5980 fn from(_: IsHeader) -> Self {
5981 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsHeader)
5982 }
5983}
5984
5985impl From<IsImage> for crate::views::AccessibilityTrait {
5986 fn from(_: IsImage) -> Self {
5987 Self::IsImage
5988 }
5989}
5990
5991impl From<IsImage> for ::core::option::Option<crate::views::AccessibilityTrait> {
5992 fn from(_: IsImage) -> Self {
5993 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsImage)
5994 }
5995}
5996
5997impl From<IsKeyboardKey> for crate::views::AccessibilityTrait {
5998 fn from(_: IsKeyboardKey) -> Self {
5999 Self::IsKeyboardKey
6000 }
6001}
6002
6003impl From<IsKeyboardKey> for ::core::option::Option<crate::views::AccessibilityTrait> {
6004 fn from(_: IsKeyboardKey) -> Self {
6005 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsKeyboardKey)
6006 }
6007}
6008
6009impl From<IsLink> for crate::views::AccessibilityTrait {
6010 fn from(_: IsLink) -> Self {
6011 Self::IsLink
6012 }
6013}
6014
6015impl From<IsLink> for ::core::option::Option<crate::views::AccessibilityTrait> {
6016 fn from(_: IsLink) -> Self {
6017 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsLink)
6018 }
6019}
6020
6021impl From<IsMathEquation> for crate::views::AccessibilityTrait {
6022 fn from(_: IsMathEquation) -> Self {
6023 Self::IsMathEquation
6024 }
6025}
6026
6027impl From<IsMathEquation> for ::core::option::Option<crate::views::AccessibilityTrait> {
6028 fn from(_: IsMathEquation) -> Self {
6029 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsMathEquation)
6030 }
6031}
6032
6033impl From<IsModal> for crate::views::AccessibilityTrait {
6034 fn from(_: IsModal) -> Self {
6035 Self::IsModal
6036 }
6037}
6038
6039impl From<IsModal> for ::core::option::Option<crate::views::AccessibilityTrait> {
6040 fn from(_: IsModal) -> Self {
6041 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsModal)
6042 }
6043}
6044
6045impl From<IsSearchField> for crate::views::AccessibilityTrait {
6046 fn from(_: IsSearchField) -> Self {
6047 Self::IsSearchField
6048 }
6049}
6050
6051impl From<IsSearchField> for ::core::option::Option<crate::views::AccessibilityTrait> {
6052 fn from(_: IsSearchField) -> Self {
6053 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsSearchField)
6054 }
6055}
6056
6057impl From<IsSelected> for crate::views::AccessibilityTrait {
6058 fn from(_: IsSelected) -> Self {
6059 Self::IsSelected
6060 }
6061}
6062
6063impl From<IsSelected> for ::core::option::Option<crate::views::AccessibilityTrait> {
6064 fn from(_: IsSelected) -> Self {
6065 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsSelected)
6066 }
6067}
6068
6069impl From<IsStaticText> for crate::views::AccessibilityTrait {
6070 fn from(_: IsStaticText) -> Self {
6071 Self::IsStaticText
6072 }
6073}
6074
6075impl From<IsStaticText> for ::core::option::Option<crate::views::AccessibilityTrait> {
6076 fn from(_: IsStaticText) -> Self {
6077 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsStaticText)
6078 }
6079}
6080
6081impl From<IsSummaryElement> for crate::views::AccessibilityTrait {
6082 fn from(_: IsSummaryElement) -> Self {
6083 Self::IsSummaryElement
6084 }
6085}
6086
6087impl From<IsSummaryElement> for ::core::option::Option<crate::views::AccessibilityTrait> {
6088 fn from(_: IsSummaryElement) -> Self {
6089 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsSummaryElement)
6090 }
6091}
6092
6093impl From<IsSwitch> for crate::views::AccessibilityTrait {
6094 fn from(_: IsSwitch) -> Self {
6095 Self::IsSwitch
6096 }
6097}
6098
6099impl From<IsSwitch> for ::core::option::Option<crate::views::AccessibilityTrait> {
6100 fn from(_: IsSwitch) -> Self {
6101 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsSwitch)
6102 }
6103}
6104
6105impl From<IsTabBar> for crate::views::AccessibilityTrait {
6106 fn from(_: IsTabBar) -> Self {
6107 Self::IsTabBar
6108 }
6109}
6110
6111impl From<IsTabBar> for ::core::option::Option<crate::views::AccessibilityTrait> {
6112 fn from(_: IsTabBar) -> Self {
6113 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsTabBar)
6114 }
6115}
6116
6117impl From<IsTabButton> for crate::views::AccessibilityTrait {
6118 fn from(_: IsTabButton) -> Self {
6119 Self::IsTabButton
6120 }
6121}
6122
6123impl From<IsTabButton> for ::core::option::Option<crate::views::AccessibilityTrait> {
6124 fn from(_: IsTabButton) -> Self {
6125 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsTabButton)
6126 }
6127}
6128
6129impl From<IsToggle> for crate::views::AccessibilityTrait {
6130 fn from(_: IsToggle) -> Self {
6131 Self::IsToggle
6132 }
6133}
6134
6135impl From<IsToggle> for ::core::option::Option<crate::views::AccessibilityTrait> {
6136 fn from(_: IsToggle) -> Self {
6137 ::core::option::Option::Some(crate::views::AccessibilityTrait::IsToggle)
6138 }
6139}
6140
6141impl From<Join> for crate::views::SubmitLabel {
6142 fn from(_: Join) -> Self {
6143 Self::Join
6144 }
6145}
6146
6147impl From<Join> for ::core::option::Option<crate::views::SubmitLabel> {
6148 fn from(_: Join) -> Self {
6149 ::core::option::Option::Some(crate::views::SubmitLabel::Join)
6150 }
6151}
6152
6153impl From<Keyboard> for crate::views::SafeAreaRegions {
6154 fn from(_: Keyboard) -> Self {
6155 Self::Keyboard
6156 }
6157}
6158
6159impl From<Keyboard> for ::core::option::Option<crate::views::SafeAreaRegions> {
6160 fn from(_: Keyboard) -> Self {
6161 ::core::option::Option::Some(crate::views::SafeAreaRegions::Keyboard)
6162 }
6163}
6164
6165impl From<Keyboard> for crate::views::ToolbarItemPlacement {
6166 fn from(_: Keyboard) -> Self {
6167 Self::Keyboard
6168 }
6169}
6170
6171impl From<Keyboard> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
6172 fn from(_: Keyboard) -> Self {
6173 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::Keyboard)
6174 }
6175}
6176
6177impl From<Label> for crate::views::LabeledPairRole {
6178 fn from(_: Label) -> Self {
6179 Self::Label
6180 }
6181}
6182
6183impl From<Label> for ::core::option::Option<crate::views::LabeledPairRole> {
6184 fn from(_: Label) -> Self {
6185 ::core::option::Option::Some(crate::views::LabeledPairRole::Label)
6186 }
6187}
6188
6189impl From<LandscapeLeft> for crate::views::InterfaceOrientation {
6190 fn from(_: LandscapeLeft) -> Self {
6191 Self::LandscapeLeft
6192 }
6193}
6194
6195impl From<LandscapeLeft> for ::core::option::Option<crate::views::InterfaceOrientation> {
6196 fn from(_: LandscapeLeft) -> Self {
6197 ::core::option::Option::Some(crate::views::InterfaceOrientation::LandscapeLeft)
6198 }
6199}
6200
6201impl From<LandscapeLeft> for crate::views::Orientation {
6202 fn from(_: LandscapeLeft) -> Self {
6203 Self::LandscapeLeft
6204 }
6205}
6206
6207impl From<LandscapeLeft> for ::core::option::Option<crate::views::Orientation> {
6208 fn from(_: LandscapeLeft) -> Self {
6209 ::core::option::Option::Some(crate::views::Orientation::LandscapeLeft)
6210 }
6211}
6212
6213impl From<LandscapeRight> for crate::views::InterfaceOrientation {
6214 fn from(_: LandscapeRight) -> Self {
6215 Self::LandscapeRight
6216 }
6217}
6218
6219impl From<LandscapeRight> for ::core::option::Option<crate::views::InterfaceOrientation> {
6220 fn from(_: LandscapeRight) -> Self {
6221 ::core::option::Option::Some(crate::views::InterfaceOrientation::LandscapeRight)
6222 }
6223}
6224
6225impl From<LandscapeRight> for crate::views::Orientation {
6226 fn from(_: LandscapeRight) -> Self {
6227 Self::LandscapeRight
6228 }
6229}
6230
6231impl From<LandscapeRight> for ::core::option::Option<crate::views::Orientation> {
6232 fn from(_: LandscapeRight) -> Self {
6233 ::core::option::Option::Some(crate::views::Orientation::LandscapeRight)
6234 }
6235}
6236
6237impl From<Large> for crate::views::ControlSize {
6238 fn from(_: Large) -> Self {
6239 Self::Large
6240 }
6241}
6242
6243impl From<Large> for ::core::option::Option<crate::views::ControlSize> {
6244 fn from(_: Large) -> Self {
6245 ::core::option::Option::Some(crate::views::ControlSize::Large)
6246 }
6247}
6248
6249impl From<Large> for crate::views::DynamicTypeSize {
6250 fn from(_: Large) -> Self {
6251 Self::Large
6252 }
6253}
6254
6255impl From<Large> for ::core::option::Option<crate::views::DynamicTypeSize> {
6256 fn from(_: Large) -> Self {
6257 ::core::option::Option::Some(crate::views::DynamicTypeSize::Large)
6258 }
6259}
6260
6261impl From<Large> for crate::views::ImageScale {
6262 fn from(_: Large) -> Self {
6263 Self::Large
6264 }
6265}
6266
6267impl From<Large> for ::core::option::Option<crate::views::ImageScale> {
6268 fn from(_: Large) -> Self {
6269 ::core::option::Option::Some(crate::views::ImageScale::Large)
6270 }
6271}
6272
6273impl From<Large> for crate::views::PresentationDetent {
6274 fn from(_: Large) -> Self {
6275 Self::Large
6276 }
6277}
6278
6279impl From<Large> for ::core::option::Option<crate::views::PresentationDetent> {
6280 fn from(_: Large) -> Self {
6281 ::core::option::Option::Some(crate::views::PresentationDetent::Large)
6282 }
6283}
6284
6285#[cfg(not(target_os = "macos"))]
6286impl From<Large> for crate::views::TitleDisplayMode {
6287 fn from(_: Large) -> Self {
6288 Self::Large
6289 }
6290}
6291
6292#[cfg(not(target_os = "macos"))]
6293impl From<Large> for ::core::option::Option<crate::views::TitleDisplayMode> {
6294 fn from(_: Large) -> Self {
6295 ::core::option::Option::Some(crate::views::TitleDisplayMode::Large)
6296 }
6297}
6298
6299impl From<LargeTitle> for crate::views::TextStyle {
6300 fn from(_: LargeTitle) -> Self {
6301 Self::LargeTitle
6302 }
6303}
6304
6305impl From<LargeTitle> for ::core::option::Option<crate::views::TextStyle> {
6306 fn from(_: LargeTitle) -> Self {
6307 ::core::option::Option::Some(crate::views::TextStyle::LargeTitle)
6308 }
6309}
6310
6311impl From<LastTextBaseline> for crate::views::VerticalAlignment {
6312 fn from(_: LastTextBaseline) -> Self {
6313 Self::LastTextBaseline
6314 }
6315}
6316
6317impl From<LastTextBaseline> for ::core::option::Option<crate::views::VerticalAlignment> {
6318 fn from(_: LastTextBaseline) -> Self {
6319 ::core::option::Option::Some(crate::views::VerticalAlignment::LastTextBaseline)
6320 }
6321}
6322
6323impl From<LayoutBased> for crate::views::WritingDirectionStrategy {
6324 fn from(_: LayoutBased) -> Self {
6325 Self::LayoutBased
6326 }
6327}
6328
6329impl From<LayoutBased> for ::core::option::Option<crate::views::WritingDirectionStrategy> {
6330 fn from(_: LayoutBased) -> Self {
6331 ::core::option::Option::Some(crate::views::WritingDirectionStrategy::LayoutBased)
6332 }
6333}
6334
6335impl From<Leading> for crate::views::Alignment {
6336 fn from(_: Leading) -> Self {
6337 Self::Leading
6338 }
6339}
6340
6341impl From<Leading> for ::core::option::Option<crate::views::Alignment> {
6342 fn from(_: Leading) -> Self {
6343 ::core::option::Option::Some(crate::views::Alignment::Leading)
6344 }
6345}
6346
6347impl From<Leading> for crate::views::Edge {
6348 fn from(_: Leading) -> Self {
6349 Self::Leading
6350 }
6351}
6352
6353impl From<Leading> for ::core::option::Option<crate::views::Edge> {
6354 fn from(_: Leading) -> Self {
6355 ::core::option::Option::Some(crate::views::Edge::Leading)
6356 }
6357}
6358
6359impl From<Leading> for crate::views::EdgeSet {
6360 fn from(_: Leading) -> Self {
6361 Self::Leading
6362 }
6363}
6364
6365impl From<Leading> for ::core::option::Option<crate::views::EdgeSet> {
6366 fn from(_: Leading) -> Self {
6367 ::core::option::Option::Some(crate::views::EdgeSet::Leading)
6368 }
6369}
6370
6371impl From<Leading> for crate::views::EdgeSetMember {
6372 fn from(_: Leading) -> Self {
6373 Self::Leading
6374 }
6375}
6376
6377impl From<Leading> for ::core::option::Option<crate::views::EdgeSetMember> {
6378 fn from(_: Leading) -> Self {
6379 ::core::option::Option::Some(crate::views::EdgeSetMember::Leading)
6380 }
6381}
6382
6383impl From<Leading> for crate::views::HorizontalAlignment {
6384 fn from(_: Leading) -> Self {
6385 Self::Leading
6386 }
6387}
6388
6389impl From<Leading> for ::core::option::Option<crate::views::HorizontalAlignment> {
6390 fn from(_: Leading) -> Self {
6391 ::core::option::Option::Some(crate::views::HorizontalAlignment::Leading)
6392 }
6393}
6394
6395impl From<Leading> for crate::views::HorizontalEdge {
6396 fn from(_: Leading) -> Self {
6397 Self::Leading
6398 }
6399}
6400
6401impl From<Leading> for ::core::option::Option<crate::views::HorizontalEdge> {
6402 fn from(_: Leading) -> Self {
6403 ::core::option::Option::Some(crate::views::HorizontalEdge::Leading)
6404 }
6405}
6406
6407impl From<Leading> for crate::views::TextAlign {
6408 fn from(_: Leading) -> Self {
6409 Self::Leading
6410 }
6411}
6412
6413impl From<Leading> for ::core::option::Option<crate::views::TextAlign> {
6414 fn from(_: Leading) -> Self {
6415 ::core::option::Option::Some(crate::views::TextAlign::Leading)
6416 }
6417}
6418
6419impl From<LeftArrow> for crate::views::Key {
6420 fn from(_: LeftArrow) -> Self {
6421 Self::LeftArrow
6422 }
6423}
6424
6425impl From<LeftArrow> for ::core::option::Option<crate::views::Key> {
6426 fn from(_: LeftArrow) -> Self {
6427 ::core::option::Option::Some(crate::views::Key::LeftArrow)
6428 }
6429}
6430
6431impl From<LeftToRight> for crate::views::LayoutDirection {
6432 fn from(_: LeftToRight) -> Self {
6433 Self::LeftToRight
6434 }
6435}
6436
6437impl From<LeftToRight> for ::core::option::Option<crate::views::LayoutDirection> {
6438 fn from(_: LeftToRight) -> Self {
6439 ::core::option::Option::Some(crate::views::LayoutDirection::LeftToRight)
6440 }
6441}
6442
6443impl From<Letters> for crate::views::CharacterSetKind {
6444 fn from(_: Letters) -> Self {
6445 Self::Letters
6446 }
6447}
6448
6449impl From<Letters> for ::core::option::Option<crate::views::CharacterSetKind> {
6450 fn from(_: Letters) -> Self {
6451 ::core::option::Option::Some(crate::views::CharacterSetKind::Letters)
6452 }
6453}
6454
6455impl From<LevelChange> for crate::views::SensoryFeedback {
6456 fn from(_: LevelChange) -> Self {
6457 Self::LevelChange
6458 }
6459}
6460
6461impl From<LevelChange> for ::core::option::Option<crate::views::SensoryFeedback> {
6462 fn from(_: LevelChange) -> Self {
6463 ::core::option::Option::Some(crate::views::SensoryFeedback::LevelChange)
6464 }
6465}
6466
6467#[cfg(not(target_os = "macos"))]
6468impl From<Lift> for crate::views::HoverEffect {
6469 fn from(_: Lift) -> Self {
6470 Self::Lift
6471 }
6472}
6473
6474#[cfg(not(target_os = "macos"))]
6475impl From<Lift> for ::core::option::Option<crate::views::HoverEffect> {
6476 fn from(_: Lift) -> Self {
6477 ::core::option::Option::Some(crate::views::HoverEffect::Lift)
6478 }
6479}
6480
6481impl From<Light> for crate::views::ColorScheme {
6482 fn from(_: Light) -> Self {
6483 Self::Light
6484 }
6485}
6486
6487impl From<Light> for ::core::option::Option<crate::views::ColorScheme> {
6488 fn from(_: Light) -> Self {
6489 ::core::option::Option::Some(crate::views::ColorScheme::Light)
6490 }
6491}
6492
6493impl From<Light> for crate::views::Weight {
6494 fn from(_: Light) -> Self {
6495 Self::Light
6496 }
6497}
6498
6499impl From<Light> for ::core::option::Option<crate::views::Weight> {
6500 fn from(_: Light) -> Self {
6501 ::core::option::Option::Some(crate::views::Weight::Light)
6502 }
6503}
6504
6505impl From<Limited> for crate::views::WritingToolsBehavior {
6506 fn from(_: Limited) -> Self {
6507 Self::Limited
6508 }
6509}
6510
6511impl From<Limited> for ::core::option::Option<crate::views::WritingToolsBehavior> {
6512 fn from(_: Limited) -> Self {
6513 ::core::option::Option::Some(crate::views::WritingToolsBehavior::Limited)
6514 }
6515}
6516
6517impl From<Linear> for crate::views::AnimationKind {
6518 fn from(_: Linear) -> Self {
6519 Self::Linear
6520 }
6521}
6522
6523impl From<Linear> for ::core::option::Option<crate::views::AnimationKind> {
6524 fn from(_: Linear) -> Self {
6525 ::core::option::Option::Some(crate::views::AnimationKind::Linear)
6526 }
6527}
6528
6529impl From<Linear> for crate::views::ProgressStyle {
6530 fn from(_: Linear) -> Self {
6531 Self::Linear
6532 }
6533}
6534
6535impl From<Linear> for ::core::option::Option<crate::views::ProgressStyle> {
6536 fn from(_: Linear) -> Self {
6537 ::core::option::Option::Some(crate::views::ProgressStyle::Linear)
6538 }
6539}
6540
6541impl From<LinearCapacityGaugeStyle> for crate::views::GaugeStyle {
6542 fn from(_: LinearCapacityGaugeStyle) -> Self {
6543 Self::LinearCapacityGaugeStyle
6544 }
6545}
6546
6547impl From<LinearCapacityGaugeStyle> for ::core::option::Option<crate::views::GaugeStyle> {
6548 fn from(_: LinearCapacityGaugeStyle) -> Self {
6549 ::core::option::Option::Some(crate::views::GaugeStyle::LinearCapacityGaugeStyle)
6550 }
6551}
6552
6553impl From<Link> for crate::views::PointerStyle {
6554 fn from(_: Link) -> Self {
6555 Self::Link
6556 }
6557}
6558
6559impl From<Link> for ::core::option::Option<crate::views::PointerStyle> {
6560 fn from(_: Link) -> Self {
6561 ::core::option::Option::Some(crate::views::PointerStyle::Link)
6562 }
6563}
6564
6565impl From<LinkShapeStyle> for crate::views::ShapeStyle {
6566 fn from(_: LinkShapeStyle) -> Self {
6567 Self::LinkShapeStyle
6568 }
6569}
6570
6571impl From<LinkShapeStyle> for ::core::option::Option<crate::views::ShapeStyle> {
6572 fn from(_: LinkShapeStyle) -> Self {
6573 ::core::option::Option::Some(crate::views::ShapeStyle::LinkShapeStyle)
6574 }
6575}
6576
6577impl From<List> for crate::views::DragDropPreviewsFormation {
6578 fn from(_: List) -> Self {
6579 Self::List
6580 }
6581}
6582
6583impl From<List> for ::core::option::Option<crate::views::DragDropPreviewsFormation> {
6584 fn from(_: List) -> Self {
6585 ::core::option::Option::Some(crate::views::DragDropPreviewsFormation::List)
6586 }
6587}
6588
6589impl From<ListRowSeparatorLeading> for crate::views::HorizontalAlignment {
6590 fn from(_: ListRowSeparatorLeading) -> Self {
6591 Self::ListRowSeparatorLeading
6592 }
6593}
6594
6595impl From<ListRowSeparatorLeading> for ::core::option::Option<crate::views::HorizontalAlignment> {
6596 fn from(_: ListRowSeparatorLeading) -> Self {
6597 ::core::option::Option::Some(crate::views::HorizontalAlignment::ListRowSeparatorLeading)
6598 }
6599}
6600
6601impl From<ListRowSeparatorTrailing> for crate::views::HorizontalAlignment {
6602 fn from(_: ListRowSeparatorTrailing) -> Self {
6603 Self::ListRowSeparatorTrailing
6604 }
6605}
6606
6607impl From<ListRowSeparatorTrailing> for ::core::option::Option<crate::views::HorizontalAlignment> {
6608 fn from(_: ListRowSeparatorTrailing) -> Self {
6609 ::core::option::Option::Some(crate::views::HorizontalAlignment::ListRowSeparatorTrailing)
6610 }
6611}
6612
6613impl From<Local> for crate::views::CoordinateSpace {
6614 fn from(_: Local) -> Self {
6615 Self::Local
6616 }
6617}
6618
6619impl From<Local> for ::core::option::Option<crate::views::CoordinateSpace> {
6620 fn from(_: Local) -> Self {
6621 ::core::option::Option::Some(crate::views::CoordinateSpace::Local)
6622 }
6623}
6624
6625impl From<Loose> for crate::views::LineHeightKind {
6626 fn from(_: Loose) -> Self {
6627 Self::Loose
6628 }
6629}
6630
6631impl From<Loose> for ::core::option::Option<crate::views::LineHeightKind> {
6632 fn from(_: Loose) -> Self {
6633 ::core::option::Option::Some(crate::views::LineHeightKind::Loose)
6634 }
6635}
6636
6637impl From<Low> for crate::views::Interpolation {
6638 fn from(_: Low) -> Self {
6639 Self::Low
6640 }
6641}
6642
6643impl From<Low> for ::core::option::Option<crate::views::Interpolation> {
6644 fn from(_: Low) -> Self {
6645 ::core::option::Option::Some(crate::views::Interpolation::Low)
6646 }
6647}
6648
6649impl From<Low> for crate::views::TaskPriority {
6650 fn from(_: Low) -> Self {
6651 Self::Low
6652 }
6653}
6654
6655impl From<Low> for ::core::option::Option<crate::views::TaskPriority> {
6656 fn from(_: Low) -> Self {
6657 ::core::option::Option::Some(crate::views::TaskPriority::Low)
6658 }
6659}
6660
6661impl From<Lowercase> for crate::views::TextCase {
6662 fn from(_: Lowercase) -> Self {
6663 Self::Lowercase
6664 }
6665}
6666
6667impl From<Lowercase> for ::core::option::Option<crate::views::TextCase> {
6668 fn from(_: Lowercase) -> Self {
6669 ::core::option::Option::Some(crate::views::TextCase::Lowercase)
6670 }
6671}
6672
6673#[cfg(not(target_os = "macos"))]
6674impl From<MagicTap> for crate::views::ActionKind {
6675 fn from(_: MagicTap) -> Self {
6676 Self::MagicTap
6677 }
6678}
6679
6680#[cfg(not(target_os = "macos"))]
6681impl From<MagicTap> for ::core::option::Option<crate::views::ActionKind> {
6682 fn from(_: MagicTap) -> Self {
6683 ::core::option::Option::Some(crate::views::ActionKind::MagicTap)
6684 }
6685}
6686
6687impl From<MatchWindow> for crate::views::MaterialActiveAppearance {
6688 fn from(_: MatchWindow) -> Self {
6689 Self::MatchWindow
6690 }
6691}
6692
6693impl From<MatchWindow> for ::core::option::Option<crate::views::MaterialActiveAppearance> {
6694 fn from(_: MatchWindow) -> Self {
6695 ::core::option::Option::Some(crate::views::MaterialActiveAppearance::MatchWindow)
6696 }
6697}
6698
6699impl From<MatchedGeometry> for crate::views::GlassEffectTransition {
6700 fn from(_: MatchedGeometry) -> Self {
6701 Self::MatchedGeometry
6702 }
6703}
6704
6705impl From<MatchedGeometry> for ::core::option::Option<crate::views::GlassEffectTransition> {
6706 fn from(_: MatchedGeometry) -> Self {
6707 ::core::option::Option::Some(crate::views::GlassEffectTransition::MatchedGeometry)
6708 }
6709}
6710
6711impl From<Materialize> for crate::views::GlassEffectTransition {
6712 fn from(_: Materialize) -> Self {
6713 Self::Materialize
6714 }
6715}
6716
6717impl From<Materialize> for ::core::option::Option<crate::views::GlassEffectTransition> {
6718 fn from(_: Materialize) -> Self {
6719 ::core::option::Option::Some(crate::views::GlassEffectTransition::Materialize)
6720 }
6721}
6722
6723impl From<Medium> for crate::views::DynamicTypeSize {
6724 fn from(_: Medium) -> Self {
6725 Self::Medium
6726 }
6727}
6728
6729impl From<Medium> for ::core::option::Option<crate::views::DynamicTypeSize> {
6730 fn from(_: Medium) -> Self {
6731 ::core::option::Option::Some(crate::views::DynamicTypeSize::Medium)
6732 }
6733}
6734
6735impl From<Medium> for crate::views::ImageScale {
6736 fn from(_: Medium) -> Self {
6737 Self::Medium
6738 }
6739}
6740
6741impl From<Medium> for ::core::option::Option<crate::views::ImageScale> {
6742 fn from(_: Medium) -> Self {
6743 ::core::option::Option::Some(crate::views::ImageScale::Medium)
6744 }
6745}
6746
6747impl From<Medium> for crate::views::Interpolation {
6748 fn from(_: Medium) -> Self {
6749 Self::Medium
6750 }
6751}
6752
6753impl From<Medium> for ::core::option::Option<crate::views::Interpolation> {
6754 fn from(_: Medium) -> Self {
6755 ::core::option::Option::Some(crate::views::Interpolation::Medium)
6756 }
6757}
6758
6759impl From<Medium> for crate::views::PresentationDetent {
6760 fn from(_: Medium) -> Self {
6761 Self::Medium
6762 }
6763}
6764
6765impl From<Medium> for ::core::option::Option<crate::views::PresentationDetent> {
6766 fn from(_: Medium) -> Self {
6767 ::core::option::Option::Some(crate::views::PresentationDetent::Medium)
6768 }
6769}
6770
6771impl From<Medium> for crate::views::Weight {
6772 fn from(_: Medium) -> Self {
6773 Self::Medium
6774 }
6775}
6776
6777impl From<Medium> for ::core::option::Option<crate::views::Weight> {
6778 fn from(_: Medium) -> Self {
6779 ::core::option::Option::Some(crate::views::Weight::Medium)
6780 }
6781}
6782
6783impl From<Menu> for crate::views::SearchSuggestionsPlacementSet {
6784 fn from(_: Menu) -> Self {
6785 Self::Menu
6786 }
6787}
6788
6789impl From<Menu> for ::core::option::Option<crate::views::SearchSuggestionsPlacementSet> {
6790 fn from(_: Menu) -> Self {
6791 ::core::option::Option::Some(crate::views::SearchSuggestionsPlacementSet::Menu)
6792 }
6793}
6794
6795impl From<MenuControlGroupStyle> for crate::views::ControlGroupStyle {
6796 fn from(_: MenuControlGroupStyle) -> Self {
6797 Self::MenuControlGroupStyle
6798 }
6799}
6800
6801impl From<MenuControlGroupStyle> for ::core::option::Option<crate::views::ControlGroupStyle> {
6802 fn from(_: MenuControlGroupStyle) -> Self {
6803 ::core::option::Option::Some(crate::views::ControlGroupStyle::MenuControlGroupStyle)
6804 }
6805}
6806
6807impl From<MenuPickerStyle> for crate::views::PickerStyle {
6808 fn from(_: MenuPickerStyle) -> Self {
6809 Self::MenuPickerStyle
6810 }
6811}
6812
6813impl From<MenuPickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
6814 fn from(_: MenuPickerStyle) -> Self {
6815 ::core::option::Option::Some(crate::views::PickerStyle::MenuPickerStyle)
6816 }
6817}
6818
6819impl From<Messaging> for crate::views::TextContentType {
6820 fn from(_: Messaging) -> Self {
6821 Self::Messaging
6822 }
6823}
6824
6825impl From<Messaging> for ::core::option::Option<crate::views::TextContentType> {
6826 fn from(_: Messaging) -> Self {
6827 ::core::option::Option::Some(crate::views::TextContentType::Messaging)
6828 }
6829}
6830
6831impl From<Middle> for crate::views::TruncationMode {
6832 fn from(_: Middle) -> Self {
6833 Self::Middle
6834 }
6835}
6836
6837impl From<Middle> for ::core::option::Option<crate::views::TruncationMode> {
6838 fn from(_: Middle) -> Self {
6839 ::core::option::Option::Some(crate::views::TruncationMode::Middle)
6840 }
6841}
6842
6843impl From<Mini> for crate::views::ControlSize {
6844 fn from(_: Mini) -> Self {
6845 Self::Mini
6846 }
6847}
6848
6849impl From<Mini> for ::core::option::Option<crate::views::ControlSize> {
6850 fn from(_: Mini) -> Self {
6851 ::core::option::Option::Some(crate::views::ControlSize::Mini)
6852 }
6853}
6854
6855impl From<Minimum> for crate::views::ScenePadding {
6856 fn from(_: Minimum) -> Self {
6857 Self::Minimum
6858 }
6859}
6860
6861impl From<Minimum> for ::core::option::Option<crate::views::ScenePadding> {
6862 fn from(_: Minimum) -> Self {
6863 ::core::option::Option::Some(crate::views::ScenePadding::Minimum)
6864 }
6865}
6866
6867impl From<Mint> for crate::views::SystemColor {
6868 fn from(_: Mint) -> Self {
6869 Self::Mint
6870 }
6871}
6872
6873impl From<Mint> for ::core::option::Option<crate::views::SystemColor> {
6874 fn from(_: Mint) -> Self {
6875 ::core::option::Option::Some(crate::views::SystemColor::Mint)
6876 }
6877}
6878
6879impl From<Mirrors> for crate::views::LayoutDirectionBehavior {
6880 fn from(_: Mirrors) -> Self {
6881 Self::Mirrors
6882 }
6883}
6884
6885impl From<Mirrors> for ::core::option::Option<crate::views::LayoutDirectionBehavior> {
6886 fn from(_: Mirrors) -> Self {
6887 ::core::option::Option::Some(crate::views::LayoutDirectionBehavior::Mirrors)
6888 }
6889}
6890
6891impl From<Monochrome> for crate::views::SymbolRenderingMode {
6892 fn from(_: Monochrome) -> Self {
6893 Self::Monochrome
6894 }
6895}
6896
6897impl From<Monochrome> for ::core::option::Option<crate::views::SymbolRenderingMode> {
6898 fn from(_: Monochrome) -> Self {
6899 ::core::option::Option::Some(crate::views::SymbolRenderingMode::Monochrome)
6900 }
6901}
6902
6903impl From<Monospaced> for crate::views::Design {
6904 fn from(_: Monospaced) -> Self {
6905 Self::Monospaced
6906 }
6907}
6908
6909impl From<Monospaced> for ::core::option::Option<crate::views::Design> {
6910 fn from(_: Monospaced) -> Self {
6911 ::core::option::Option::Some(crate::views::Design::Monospaced)
6912 }
6913}
6914
6915impl From<Move> for crate::views::DropOperation {
6916 fn from(_: Move) -> Self {
6917 Self::Move
6918 }
6919}
6920
6921impl From<Move> for ::core::option::Option<crate::views::DropOperation> {
6922 fn from(_: Move) -> Self {
6923 ::core::option::Option::Some(crate::views::DropOperation::Move)
6924 }
6925}
6926
6927impl From<Multicolor> for crate::views::SymbolRenderingMode {
6928 fn from(_: Multicolor) -> Self {
6929 Self::Multicolor
6930 }
6931}
6932
6933impl From<Multicolor> for ::core::option::Option<crate::views::SymbolRenderingMode> {
6934 fn from(_: Multicolor) -> Self {
6935 ::core::option::Option::Some(crate::views::SymbolRenderingMode::Multicolor)
6936 }
6937}
6938
6939#[cfg(not(target_os = "macos"))]
6940impl From<NamePhonePad> for crate::views::KeyboardType {
6941 fn from(_: NamePhonePad) -> Self {
6942 Self::NamePhonePad
6943 }
6944}
6945
6946#[cfg(not(target_os = "macos"))]
6947impl From<NamePhonePad> for ::core::option::Option<crate::views::KeyboardType> {
6948 fn from(_: NamePhonePad) -> Self {
6949 ::core::option::Option::Some(crate::views::KeyboardType::NamePhonePad)
6950 }
6951}
6952
6953impl From<Narrative> for crate::views::TextContentType {
6954 fn from(_: Narrative) -> Self {
6955 Self::Narrative
6956 }
6957}
6958
6959impl From<Narrative> for ::core::option::Option<crate::views::TextContentType> {
6960 fn from(_: Narrative) -> Self {
6961 ::core::option::Option::Some(crate::views::TextContentType::Narrative)
6962 }
6963}
6964
6965#[cfg(not(target_os = "macos"))]
6966impl From<Navigation> for crate::views::ContainerBackgroundPlacement {
6967 fn from(_: Navigation) -> Self {
6968 Self::Navigation
6969 }
6970}
6971
6972#[cfg(not(target_os = "macos"))]
6973impl From<Navigation> for ::core::option::Option<crate::views::ContainerBackgroundPlacement> {
6974 fn from(_: Navigation) -> Self {
6975 ::core::option::Option::Some(crate::views::ContainerBackgroundPlacement::Navigation)
6976 }
6977}
6978
6979impl From<Navigation> for crate::views::ToolbarItemPlacement {
6980 fn from(_: Navigation) -> Self {
6981 Self::Navigation
6982 }
6983}
6984
6985impl From<Navigation> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
6986 fn from(_: Navigation) -> Self {
6987 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::Navigation)
6988 }
6989}
6990
6991#[cfg(not(target_os = "macos"))]
6992impl From<NavigationBar> for crate::views::ToolbarPlacement {
6993 fn from(_: NavigationBar) -> Self {
6994 Self::NavigationBar
6995 }
6996}
6997
6998#[cfg(not(target_os = "macos"))]
6999impl From<NavigationBar> for ::core::option::Option<crate::views::ToolbarPlacement> {
7000 fn from(_: NavigationBar) -> Self {
7001 ::core::option::Option::Some(crate::views::ToolbarPlacement::NavigationBar)
7002 }
7003}
7004
7005#[cfg(not(target_os = "macos"))]
7006impl From<NavigationBarDrawer> for crate::views::SearchFieldPlacement {
7007 fn from(_: NavigationBarDrawer) -> Self {
7008 Self::NavigationBarDrawer
7009 }
7010}
7011
7012#[cfg(not(target_os = "macos"))]
7013impl From<NavigationBarDrawer> for ::core::option::Option<crate::views::SearchFieldPlacement> {
7014 fn from(_: NavigationBarDrawer) -> Self {
7015 ::core::option::Option::Some(crate::views::SearchFieldPlacement::NavigationBarDrawer)
7016 }
7017}
7018
7019impl From<NavigationColumn> for crate::views::SearchFieldPlacement {
7020 fn from(_: NavigationColumn) -> Self {
7021 Self::NavigationColumn
7022 }
7023}
7024
7025impl From<NavigationColumn> for ::core::option::Option<crate::views::SearchFieldPlacement> {
7026 fn from(_: NavigationColumn) -> Self {
7027 ::core::option::Option::Some(crate::views::SearchFieldPlacement::NavigationColumn)
7028 }
7029}
7030
7031impl From<NavigationControlGroupStyle> for crate::views::ControlGroupStyle {
7032 fn from(_: NavigationControlGroupStyle) -> Self {
7033 Self::NavigationControlGroupStyle
7034 }
7035}
7036
7037impl From<NavigationControlGroupStyle> for ::core::option::Option<crate::views::ControlGroupStyle> {
7038 fn from(_: NavigationControlGroupStyle) -> Self {
7039 ::core::option::Option::Some(crate::views::ControlGroupStyle::NavigationControlGroupStyle)
7040 }
7041}
7042
7043#[cfg(not(target_os = "macos"))]
7044impl From<NavigationSplitView> for crate::views::ContainerBackgroundPlacement {
7045 fn from(_: NavigationSplitView) -> Self {
7046 Self::NavigationSplitView
7047 }
7048}
7049
7050#[cfg(not(target_os = "macos"))]
7051impl From<NavigationSplitView> for ::core::option::Option<crate::views::ContainerBackgroundPlacement> {
7052 fn from(_: NavigationSplitView) -> Self {
7053 ::core::option::Option::Some(crate::views::ContainerBackgroundPlacement::NavigationSplitView)
7054 }
7055}
7056
7057#[cfg(not(target_os = "macos"))]
7058impl From<NavigationSplitView> for crate::views::ContentToolbarPlacement {
7059 fn from(_: NavigationSplitView) -> Self {
7060 Self::NavigationSplitView
7061 }
7062}
7063
7064#[cfg(not(target_os = "macos"))]
7065impl From<NavigationSplitView> for ::core::option::Option<crate::views::ContentToolbarPlacement> {
7066 fn from(_: NavigationSplitView) -> Self {
7067 ::core::option::Option::Some(crate::views::ContentToolbarPlacement::NavigationSplitView)
7068 }
7069}
7070
7071#[cfg(not(target_os = "macos"))]
7072impl From<Never> for crate::views::IndexBackground {
7073 fn from(_: Never) -> Self {
7074 Self::Never
7075 }
7076}
7077
7078#[cfg(not(target_os = "macos"))]
7079impl From<Never> for ::core::option::Option<crate::views::IndexBackground> {
7080 fn from(_: Never) -> Self {
7081 ::core::option::Option::Some(crate::views::IndexBackground::Never)
7082 }
7083}
7084
7085impl From<Never> for crate::views::ScrollDismissesKeyboardMode {
7086 fn from(_: Never) -> Self {
7087 Self::Never
7088 }
7089}
7090
7091impl From<Never> for ::core::option::Option<crate::views::ScrollDismissesKeyboardMode> {
7092 fn from(_: Never) -> Self {
7093 ::core::option::Option::Some(crate::views::ScrollDismissesKeyboardMode::Never)
7094 }
7095}
7096
7097impl From<Never> for crate::views::ScrollIndicatorVisibility {
7098 fn from(_: Never) -> Self {
7099 Self::Never
7100 }
7101}
7102
7103impl From<Never> for ::core::option::Option<crate::views::ScrollIndicatorVisibility> {
7104 fn from(_: Never) -> Self {
7105 ::core::option::Option::Some(crate::views::ScrollIndicatorVisibility::Never)
7106 }
7107}
7108
7109#[cfg(not(target_os = "macos"))]
7110impl From<Never> for crate::views::TextInputCapitalization {
7111 fn from(_: Never) -> Self {
7112 Self::Never
7113 }
7114}
7115
7116#[cfg(not(target_os = "macos"))]
7117impl From<Never> for ::core::option::Option<crate::views::TextInputCapitalization> {
7118 fn from(_: Never) -> Self {
7119 ::core::option::Option::Some(crate::views::TextInputCapitalization::Never)
7120 }
7121}
7122
7123impl From<Next> for crate::views::SubmitLabel {
7124 fn from(_: Next) -> Self {
7125 Self::Next
7126 }
7127}
7128
7129impl From<Next> for ::core::option::Option<crate::views::SubmitLabel> {
7130 fn from(_: Next) -> Self {
7131 ::core::option::Option::Some(crate::views::SubmitLabel::Next)
7132 }
7133}
7134
7135#[cfg(not(target_os = "macos"))]
7136impl From<None> for crate::views::Autocapitalization {
7137 fn from(_: None) -> Self {
7138 Self::None
7139 }
7140}
7141
7142#[cfg(not(target_os = "macos"))]
7143impl From<None> for ::core::option::Option<crate::views::Autocapitalization> {
7144 fn from(_: None) -> Self {
7145 ::core::option::Option::Some(crate::views::Autocapitalization::None)
7146 }
7147}
7148
7149impl From<None> for crate::views::DragDropPreviewsFormation {
7150 fn from(_: None) -> Self {
7151 Self::None
7152 }
7153}
7154
7155impl From<None> for ::core::option::Option<crate::views::DragDropPreviewsFormation> {
7156 fn from(_: None) -> Self {
7157 ::core::option::Option::Some(crate::views::DragDropPreviewsFormation::None)
7158 }
7159}
7160
7161impl From<None> for crate::views::GestureMask {
7162 fn from(_: None) -> Self {
7163 Self::None
7164 }
7165}
7166
7167impl From<None> for ::core::option::Option<crate::views::GestureMask> {
7168 fn from(_: None) -> Self {
7169 ::core::option::Option::Some(crate::views::GestureMask::None)
7170 }
7171}
7172
7173impl From<None> for crate::views::Interpolation {
7174 fn from(_: None) -> Self {
7175 Self::None
7176 }
7177}
7178
7179impl From<None> for ::core::option::Option<crate::views::Interpolation> {
7180 fn from(_: None) -> Self {
7181 ::core::option::Option::Some(crate::views::Interpolation::None)
7182 }
7183}
7184
7185impl From<None> for crate::views::PresentationAdaptation {
7186 fn from(_: None) -> Self {
7187 Self::None
7188 }
7189}
7190
7191impl From<None> for ::core::option::Option<crate::views::PresentationAdaptation> {
7192 fn from(_: None) -> Self {
7193 ::core::option::Option::Some(crate::views::PresentationAdaptation::None)
7194 }
7195}
7196
7197impl From<None> for crate::views::SymbolVariants {
7198 fn from(_: None) -> Self {
7199 Self::None
7200 }
7201}
7202
7203impl From<None> for ::core::option::Option<crate::views::SymbolVariants> {
7204 fn from(_: None) -> Self {
7205 ::core::option::Option::Some(crate::views::SymbolVariants::None)
7206 }
7207}
7208
7209impl From<Normal> for crate::views::LineHeightKind {
7210 fn from(_: Normal) -> Self {
7211 Self::Normal
7212 }
7213}
7214
7215impl From<Normal> for ::core::option::Option<crate::views::LineHeightKind> {
7216 fn from(_: Normal) -> Self {
7217 ::core::option::Option::Some(crate::views::LineHeightKind::Normal)
7218 }
7219}
7220
7221#[cfg(not(target_os = "macos"))]
7222impl From<NumberPad> for crate::views::KeyboardType {
7223 fn from(_: NumberPad) -> Self {
7224 Self::NumberPad
7225 }
7226}
7227
7228#[cfg(not(target_os = "macos"))]
7229impl From<NumberPad> for ::core::option::Option<crate::views::KeyboardType> {
7230 fn from(_: NumberPad) -> Self {
7231 ::core::option::Option::Some(crate::views::KeyboardType::NumberPad)
7232 }
7233}
7234
7235#[cfg(not(target_os = "macos"))]
7236impl From<NumbersAndPunctuation> for crate::views::KeyboardType {
7237 fn from(_: NumbersAndPunctuation) -> Self {
7238 Self::NumbersAndPunctuation
7239 }
7240}
7241
7242#[cfg(not(target_os = "macos"))]
7243impl From<NumbersAndPunctuation> for ::core::option::Option<crate::views::KeyboardType> {
7244 fn from(_: NumbersAndPunctuation) -> Self {
7245 ::core::option::Option::Some(crate::views::KeyboardType::NumbersAndPunctuation)
7246 }
7247}
7248
7249impl From<NumericPad> for crate::views::EventModifier {
7250 fn from(_: NumericPad) -> Self {
7251 Self::NumericPad
7252 }
7253}
7254
7255impl From<NumericPad> for ::core::option::Option<crate::views::EventModifier> {
7256 fn from(_: NumericPad) -> Self {
7257 ::core::option::Option::Some(crate::views::EventModifier::NumericPad)
7258 }
7259}
7260
7261impl From<OnHover> for crate::views::WindowToolbarFullScreenVisibility {
7262 fn from(_: OnHover) -> Self {
7263 Self::OnHover
7264 }
7265}
7266
7267impl From<OnHover> for ::core::option::Option<crate::views::WindowToolbarFullScreenVisibility> {
7268 fn from(_: OnHover) -> Self {
7269 ::core::option::Option::Some(crate::views::WindowToolbarFullScreenVisibility::OnHover)
7270 }
7271}
7272
7273impl From<OneTimeCode> for crate::views::TextContentKind {
7274 fn from(_: OneTimeCode) -> Self {
7275 Self::OneTimeCode
7276 }
7277}
7278
7279impl From<OneTimeCode> for ::core::option::Option<crate::views::TextContentKind> {
7280 fn from(_: OneTimeCode) -> Self {
7281 ::core::option::Option::Some(crate::views::TextContentKind::OneTimeCode)
7282 }
7283}
7284
7285impl From<Opacity> for crate::views::ContentTransition {
7286 fn from(_: Opacity) -> Self {
7287 Self::Opacity
7288 }
7289}
7290
7291impl From<Opacity> for ::core::option::Option<crate::views::ContentTransition> {
7292 fn from(_: Opacity) -> Self {
7293 ::core::option::Option::Some(crate::views::ContentTransition::Opacity)
7294 }
7295}
7296
7297impl From<Option> for crate::views::EventModifier {
7298 fn from(_: Option) -> Self {
7299 Self::Option
7300 }
7301}
7302
7303impl From<Option> for ::core::option::Option<crate::views::EventModifier> {
7304 fn from(_: Option) -> Self {
7305 ::core::option::Option::Some(crate::views::EventModifier::Option)
7306 }
7307}
7308
7309impl From<Optional> for crate::views::TouchBarItemPresence {
7310 fn from(_: Optional) -> Self {
7311 Self::Optional
7312 }
7313}
7314
7315impl From<Optional> for ::core::option::Option<crate::views::TouchBarItemPresence> {
7316 fn from(_: Optional) -> Self {
7317 ::core::option::Option::Some(crate::views::TouchBarItemPresence::Optional)
7318 }
7319}
7320
7321impl From<Orange> for crate::views::SystemColor {
7322 fn from(_: Orange) -> Self {
7323 Self::Orange
7324 }
7325}
7326
7327impl From<Orange> for ::core::option::Option<crate::views::SystemColor> {
7328 fn from(_: Orange) -> Self {
7329 ::core::option::Option::Some(crate::views::SystemColor::Orange)
7330 }
7331}
7332
7333impl From<Original> for crate::views::TemplateRenderingMode {
7334 fn from(_: Original) -> Self {
7335 Self::Original
7336 }
7337}
7338
7339impl From<Original> for ::core::option::Option<crate::views::TemplateRenderingMode> {
7340 fn from(_: Original) -> Self {
7341 ::core::option::Option::Some(crate::views::TemplateRenderingMode::Original)
7342 }
7343}
7344
7345impl From<PageDown> for crate::views::Key {
7346 fn from(_: PageDown) -> Self {
7347 Self::PageDown
7348 }
7349}
7350
7351impl From<PageDown> for ::core::option::Option<crate::views::Key> {
7352 fn from(_: PageDown) -> Self {
7353 ::core::option::Option::Some(crate::views::Key::PageDown)
7354 }
7355}
7356
7357impl From<PageUp> for crate::views::Key {
7358 fn from(_: PageUp) -> Self {
7359 Self::PageUp
7360 }
7361}
7362
7363impl From<PageUp> for ::core::option::Option<crate::views::Key> {
7364 fn from(_: PageUp) -> Self {
7365 ::core::option::Option::Some(crate::views::Key::PageUp)
7366 }
7367}
7368
7369impl From<PagingScrollTargetBehavior> for crate::views::ScrollTargetBehavior {
7370 fn from(_: PagingScrollTargetBehavior) -> Self {
7371 Self::PagingScrollTargetBehavior
7372 }
7373}
7374
7375impl From<PagingScrollTargetBehavior> for ::core::option::Option<crate::views::ScrollTargetBehavior> {
7376 fn from(_: PagingScrollTargetBehavior) -> Self {
7377 ::core::option::Option::Some(crate::views::ScrollTargetBehavior::PagingScrollTargetBehavior)
7378 }
7379}
7380
7381impl From<Palette> for crate::views::SymbolRenderingMode {
7382 fn from(_: Palette) -> Self {
7383 Self::Palette
7384 }
7385}
7386
7387impl From<Palette> for ::core::option::Option<crate::views::SymbolRenderingMode> {
7388 fn from(_: Palette) -> Self {
7389 ::core::option::Option::Some(crate::views::SymbolRenderingMode::Palette)
7390 }
7391}
7392
7393impl From<PaletteControlGroupStyle> for crate::views::ControlGroupStyle {
7394 fn from(_: PaletteControlGroupStyle) -> Self {
7395 Self::PaletteControlGroupStyle
7396 }
7397}
7398
7399impl From<PaletteControlGroupStyle> for ::core::option::Option<crate::views::ControlGroupStyle> {
7400 fn from(_: PaletteControlGroupStyle) -> Self {
7401 ::core::option::Option::Some(crate::views::ControlGroupStyle::PaletteControlGroupStyle)
7402 }
7403}
7404
7405impl From<PalettePickerStyle> for crate::views::PickerStyle {
7406 fn from(_: PalettePickerStyle) -> Self {
7407 Self::PalettePickerStyle
7408 }
7409}
7410
7411impl From<PalettePickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
7412 fn from(_: PalettePickerStyle) -> Self {
7413 ::core::option::Option::Some(crate::views::PickerStyle::PalettePickerStyle)
7414 }
7415}
7416
7417impl From<Password> for crate::views::TextContentKind {
7418 fn from(_: Password) -> Self {
7419 Self::Password
7420 }
7421}
7422
7423impl From<Password> for ::core::option::Option<crate::views::TextContentKind> {
7424 fn from(_: Password) -> Self {
7425 ::core::option::Option::Some(crate::views::TextContentKind::Password)
7426 }
7427}
7428
7429impl From<PathComplete> for crate::views::SensoryFeedback {
7430 fn from(_: PathComplete) -> Self {
7431 Self::PathComplete
7432 }
7433}
7434
7435impl From<PathComplete> for ::core::option::Option<crate::views::SensoryFeedback> {
7436 fn from(_: PathComplete) -> Self {
7437 ::core::option::Option::Some(crate::views::SensoryFeedback::PathComplete)
7438 }
7439}
7440
7441impl From<Perceptual> for crate::views::GradientColorSpace {
7442 fn from(_: Perceptual) -> Self {
7443 Self::Perceptual
7444 }
7445}
7446
7447impl From<Perceptual> for ::core::option::Option<crate::views::GradientColorSpace> {
7448 fn from(_: Perceptual) -> Self {
7449 ::core::option::Option::Some(crate::views::GradientColorSpace::Perceptual)
7450 }
7451}
7452
7453#[cfg(not(target_os = "macos"))]
7454impl From<PhonePad> for crate::views::KeyboardType {
7455 fn from(_: PhonePad) -> Self {
7456 Self::PhonePad
7457 }
7458}
7459
7460#[cfg(not(target_os = "macos"))]
7461impl From<PhonePad> for ::core::option::Option<crate::views::KeyboardType> {
7462 fn from(_: PhonePad) -> Self {
7463 ::core::option::Option::Some(crate::views::KeyboardType::PhonePad)
7464 }
7465}
7466
7467impl From<Pile> for crate::views::DragDropPreviewsFormation {
7468 fn from(_: Pile) -> Self {
7469 Self::Pile
7470 }
7471}
7472
7473impl From<Pile> for ::core::option::Option<crate::views::DragDropPreviewsFormation> {
7474 fn from(_: Pile) -> Self {
7475 ::core::option::Option::Some(crate::views::DragDropPreviewsFormation::Pile)
7476 }
7477}
7478
7479impl From<Pink> for crate::views::SystemColor {
7480 fn from(_: Pink) -> Self {
7481 Self::Pink
7482 }
7483}
7484
7485impl From<Pink> for ::core::option::Option<crate::views::SystemColor> {
7486 fn from(_: Pink) -> Self {
7487 ::core::option::Option::Some(crate::views::SystemColor::Pink)
7488 }
7489}
7490
7491impl From<Placeholder> for crate::views::RedactionReasons {
7492 fn from(_: Placeholder) -> Self {
7493 Self::Placeholder
7494 }
7495}
7496
7497impl From<Placeholder> for ::core::option::Option<crate::views::RedactionReasons> {
7498 fn from(_: Placeholder) -> Self {
7499 ::core::option::Option::Some(crate::views::RedactionReasons::Placeholder)
7500 }
7501}
7502
7503impl From<Plain> for crate::views::TextContentType {
7504 fn from(_: Plain) -> Self {
7505 Self::Plain
7506 }
7507}
7508
7509impl From<Plain> for ::core::option::Option<crate::views::TextContentType> {
7510 fn from(_: Plain) -> Self {
7511 ::core::option::Option::Some(crate::views::TextContentType::Plain)
7512 }
7513}
7514
7515impl From<PlainListStyle> for crate::views::ListStyle {
7516 fn from(_: PlainListStyle) -> Self {
7517 Self::PlainListStyle
7518 }
7519}
7520
7521impl From<PlainListStyle> for ::core::option::Option<crate::views::ListStyle> {
7522 fn from(_: PlainListStyle) -> Self {
7523 ::core::option::Option::Some(crate::views::ListStyle::PlainListStyle)
7524 }
7525}
7526
7527impl From<PlainText> for crate::views::ContentType {
7528 fn from(_: PlainText) -> Self {
7529 Self::PlainText
7530 }
7531}
7532
7533impl From<PlainText> for ::core::option::Option<crate::views::ContentType> {
7534 fn from(_: PlainText) -> Self {
7535 ::core::option::Option::Some(crate::views::ContentType::PlainText)
7536 }
7537}
7538
7539impl From<PlainTextEditorStyle> for crate::views::TextEditorStyle {
7540 fn from(_: PlainTextEditorStyle) -> Self {
7541 Self::PlainTextEditorStyle
7542 }
7543}
7544
7545impl From<PlainTextEditorStyle> for ::core::option::Option<crate::views::TextEditorStyle> {
7546 fn from(_: PlainTextEditorStyle) -> Self {
7547 ::core::option::Option::Some(crate::views::TextEditorStyle::PlainTextEditorStyle)
7548 }
7549}
7550
7551impl From<PlainTextFieldStyle> for crate::views::TextFieldStyle {
7552 fn from(_: PlainTextFieldStyle) -> Self {
7553 Self::PlainTextFieldStyle
7554 }
7555}
7556
7557impl From<PlainTextFieldStyle> for ::core::option::Option<crate::views::TextFieldStyle> {
7558 fn from(_: PlainTextFieldStyle) -> Self {
7559 ::core::option::Option::Some(crate::views::TextFieldStyle::PlainTextFieldStyle)
7560 }
7561}
7562
7563impl From<PlainWindowStyle> for crate::views::WindowStyle {
7564 fn from(_: PlainWindowStyle) -> Self {
7565 Self::PlainWindowStyle
7566 }
7567}
7568
7569impl From<PlainWindowStyle> for ::core::option::Option<crate::views::WindowStyle> {
7570 fn from(_: PlainWindowStyle) -> Self {
7571 ::core::option::Option::Some(crate::views::WindowStyle::PlainWindowStyle)
7572 }
7573}
7574
7575impl From<PlaysSound> for crate::views::AccessibilityTrait {
7576 fn from(_: PlaysSound) -> Self {
7577 Self::PlaysSound
7578 }
7579}
7580
7581impl From<PlaysSound> for ::core::option::Option<crate::views::AccessibilityTrait> {
7582 fn from(_: PlaysSound) -> Self {
7583 ::core::option::Option::Some(crate::views::AccessibilityTrait::PlaysSound)
7584 }
7585}
7586
7587impl From<PopUpButtonPickerStyle> for crate::views::PickerStyle {
7588 fn from(_: PopUpButtonPickerStyle) -> Self {
7589 Self::PopUpButtonPickerStyle
7590 }
7591}
7592
7593impl From<PopUpButtonPickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
7594 fn from(_: PopUpButtonPickerStyle) -> Self {
7595 ::core::option::Option::Some(crate::views::PickerStyle::PopUpButtonPickerStyle)
7596 }
7597}
7598
7599impl From<Popover> for crate::views::PresentationAdaptation {
7600 fn from(_: Popover) -> Self {
7601 Self::Popover
7602 }
7603}
7604
7605impl From<Popover> for ::core::option::Option<crate::views::PresentationAdaptation> {
7606 fn from(_: Popover) -> Self {
7607 ::core::option::Option::Some(crate::views::PresentationAdaptation::Popover)
7608 }
7609}
7610
7611impl From<Portrait> for crate::views::InterfaceOrientation {
7612 fn from(_: Portrait) -> Self {
7613 Self::Portrait
7614 }
7615}
7616
7617impl From<Portrait> for ::core::option::Option<crate::views::InterfaceOrientation> {
7618 fn from(_: Portrait) -> Self {
7619 ::core::option::Option::Some(crate::views::InterfaceOrientation::Portrait)
7620 }
7621}
7622
7623impl From<Portrait> for crate::views::Orientation {
7624 fn from(_: Portrait) -> Self {
7625 Self::Portrait
7626 }
7627}
7628
7629impl From<Portrait> for ::core::option::Option<crate::views::Orientation> {
7630 fn from(_: Portrait) -> Self {
7631 ::core::option::Option::Some(crate::views::Orientation::Portrait)
7632 }
7633}
7634
7635impl From<PortraitUpsideDown> for crate::views::InterfaceOrientation {
7636 fn from(_: PortraitUpsideDown) -> Self {
7637 Self::PortraitUpsideDown
7638 }
7639}
7640
7641impl From<PortraitUpsideDown> for ::core::option::Option<crate::views::InterfaceOrientation> {
7642 fn from(_: PortraitUpsideDown) -> Self {
7643 ::core::option::Option::Some(crate::views::InterfaceOrientation::PortraitUpsideDown)
7644 }
7645}
7646
7647impl From<PortraitUpsideDown> for crate::views::Orientation {
7648 fn from(_: PortraitUpsideDown) -> Self {
7649 Self::PortraitUpsideDown
7650 }
7651}
7652
7653impl From<PortraitUpsideDown> for ::core::option::Option<crate::views::Orientation> {
7654 fn from(_: PortraitUpsideDown) -> Self {
7655 ::core::option::Option::Some(crate::views::Orientation::PortraitUpsideDown)
7656 }
7657}
7658
7659impl From<Position> for crate::views::GeometryProperties {
7660 fn from(_: Position) -> Self {
7661 Self::Position
7662 }
7663}
7664
7665impl From<Position> for ::core::option::Option<crate::views::GeometryProperties> {
7666 fn from(_: Position) -> Self {
7667 ::core::option::Option::Some(crate::views::GeometryProperties::Position)
7668 }
7669}
7670
7671impl From<Presentation> for crate::views::ContainerBackgroundPlacement {
7672 fn from(_: Presentation) -> Self {
7673 Self::Presentation
7674 }
7675}
7676
7677impl From<Presentation> for ::core::option::Option<crate::views::ContainerBackgroundPlacement> {
7678 fn from(_: Presentation) -> Self {
7679 ::core::option::Option::Some(crate::views::ContainerBackgroundPlacement::Presentation)
7680 }
7681}
7682
7683impl From<Primary> for crate::views::Hierarchical {
7684 fn from(_: Primary) -> Self {
7685 Self::Primary
7686 }
7687}
7688
7689impl From<Primary> for ::core::option::Option<crate::views::Hierarchical> {
7690 fn from(_: Primary) -> Self {
7691 ::core::option::Option::Some(crate::views::Hierarchical::Primary)
7692 }
7693}
7694
7695impl From<Primary> for crate::views::SystemColor {
7696 fn from(_: Primary) -> Self {
7697 Self::Primary
7698 }
7699}
7700
7701impl From<Primary> for ::core::option::Option<crate::views::SystemColor> {
7702 fn from(_: Primary) -> Self {
7703 ::core::option::Option::Some(crate::views::SystemColor::Primary)
7704 }
7705}
7706
7707impl From<PrimaryAction> for crate::views::HandGestureShortcut {
7708 fn from(_: PrimaryAction) -> Self {
7709 Self::PrimaryAction
7710 }
7711}
7712
7713impl From<PrimaryAction> for ::core::option::Option<crate::views::HandGestureShortcut> {
7714 fn from(_: PrimaryAction) -> Self {
7715 ::core::option::Option::Some(crate::views::HandGestureShortcut::PrimaryAction)
7716 }
7717}
7718
7719impl From<PrimaryAction> for crate::views::ToolbarItemPlacement {
7720 fn from(_: PrimaryAction) -> Self {
7721 Self::PrimaryAction
7722 }
7723}
7724
7725impl From<PrimaryAction> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
7726 fn from(_: PrimaryAction) -> Self {
7727 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::PrimaryAction)
7728 }
7729}
7730
7731impl From<Principal> for crate::views::ToolbarItemPlacement {
7732 fn from(_: Principal) -> Self {
7733 Self::Principal
7734 }
7735}
7736
7737impl From<Principal> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
7738 fn from(_: Principal) -> Self {
7739 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::Principal)
7740 }
7741}
7742
7743impl From<Privacy> for crate::views::RedactionReasons {
7744 fn from(_: Privacy) -> Self {
7745 Self::Privacy
7746 }
7747}
7748
7749impl From<Privacy> for ::core::option::Option<crate::views::RedactionReasons> {
7750 fn from(_: Privacy) -> Self {
7751 ::core::option::Option::Some(crate::views::RedactionReasons::Privacy)
7752 }
7753}
7754
7755impl From<ProminentDetail> for crate::views::SplitViewStyle {
7756 fn from(_: ProminentDetail) -> Self {
7757 Self::ProminentDetail
7758 }
7759}
7760
7761impl From<ProminentDetail> for ::core::option::Option<crate::views::SplitViewStyle> {
7762 fn from(_: ProminentDetail) -> Self {
7763 ::core::option::Option::Some(crate::views::SplitViewStyle::ProminentDetail)
7764 }
7765}
7766
7767impl From<PullDownMenuButtonStyle> for crate::views::MenuButtonStyle {
7768 fn from(_: PullDownMenuButtonStyle) -> Self {
7769 Self::PullDownMenuButtonStyle
7770 }
7771}
7772
7773impl From<PullDownMenuButtonStyle> for ::core::option::Option<crate::views::MenuButtonStyle> {
7774 fn from(_: PullDownMenuButtonStyle) -> Self {
7775 ::core::option::Option::Some(crate::views::MenuButtonStyle::PullDownMenuButtonStyle)
7776 }
7777}
7778
7779impl From<Pulse> for crate::views::SymbolEffect {
7780 fn from(_: Pulse) -> Self {
7781 Self::Pulse
7782 }
7783}
7784
7785impl From<Pulse> for ::core::option::Option<crate::views::SymbolEffect> {
7786 fn from(_: Pulse) -> Self {
7787 ::core::option::Option::Some(crate::views::SymbolEffect::Pulse)
7788 }
7789}
7790
7791impl From<Purple> for crate::views::SystemColor {
7792 fn from(_: Purple) -> Self {
7793 Self::Purple
7794 }
7795}
7796
7797impl From<Purple> for ::core::option::Option<crate::views::SystemColor> {
7798 fn from(_: Purple) -> Self {
7799 ::core::option::Option::Some(crate::views::SystemColor::Purple)
7800 }
7801}
7802
7803impl From<Quaternary> for crate::views::Hierarchical {
7804 fn from(_: Quaternary) -> Self {
7805 Self::Quaternary
7806 }
7807}
7808
7809impl From<Quaternary> for ::core::option::Option<crate::views::Hierarchical> {
7810 fn from(_: Quaternary) -> Self {
7811 ::core::option::Option::Some(crate::views::Hierarchical::Quaternary)
7812 }
7813}
7814
7815impl From<Quinary> for crate::views::Hierarchical {
7816 fn from(_: Quinary) -> Self {
7817 Self::Quinary
7818 }
7819}
7820
7821impl From<Quinary> for ::core::option::Option<crate::views::Hierarchical> {
7822 fn from(_: Quinary) -> Self {
7823 ::core::option::Option::Some(crate::views::Hierarchical::Quinary)
7824 }
7825}
7826
7827impl From<RadioGroupPickerStyle> for crate::views::PickerStyle {
7828 fn from(_: RadioGroupPickerStyle) -> Self {
7829 Self::RadioGroupPickerStyle
7830 }
7831}
7832
7833impl From<RadioGroupPickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
7834 fn from(_: RadioGroupPickerStyle) -> Self {
7835 ::core::option::Option::Some(crate::views::PickerStyle::RadioGroupPickerStyle)
7836 }
7837}
7838
7839impl From<RectSelection> for crate::views::PointerStyle {
7840 fn from(_: RectSelection) -> Self {
7841 Self::RectSelection
7842 }
7843}
7844
7845impl From<RectSelection> for ::core::option::Option<crate::views::PointerStyle> {
7846 fn from(_: RectSelection) -> Self {
7847 ::core::option::Option::Some(crate::views::PointerStyle::RectSelection)
7848 }
7849}
7850
7851impl From<Rectangle> for crate::views::InsettableShape {
7852 fn from(_: Rectangle) -> Self {
7853 Self::Rectangle
7854 }
7855}
7856
7857impl From<Rectangle> for ::core::option::Option<crate::views::InsettableShape> {
7858 fn from(_: Rectangle) -> Self {
7859 ::core::option::Option::Some(crate::views::InsettableShape::Rectangle)
7860 }
7861}
7862
7863impl From<Rectangle> for crate::views::SymbolVariants {
7864 fn from(_: Rectangle) -> Self {
7865 Self::Rectangle
7866 }
7867}
7868
7869impl From<Rectangle> for ::core::option::Option<crate::views::SymbolVariants> {
7870 fn from(_: Rectangle) -> Self {
7871 ::core::option::Option::Some(crate::views::SymbolVariants::Rectangle)
7872 }
7873}
7874
7875impl From<Red> for crate::views::SystemColor {
7876 fn from(_: Red) -> Self {
7877 Self::Red
7878 }
7879}
7880
7881impl From<Red> for ::core::option::Option<crate::views::SystemColor> {
7882 fn from(_: Red) -> Self {
7883 ::core::option::Option::Some(crate::views::SystemColor::Red)
7884 }
7885}
7886
7887impl From<Regular> for crate::views::ControlSize {
7888 fn from(_: Regular) -> Self {
7889 Self::Regular
7890 }
7891}
7892
7893impl From<Regular> for ::core::option::Option<crate::views::ControlSize> {
7894 fn from(_: Regular) -> Self {
7895 ::core::option::Option::Some(crate::views::ControlSize::Regular)
7896 }
7897}
7898
7899impl From<Regular> for crate::views::Glass {
7900 fn from(_: Regular) -> Self {
7901 Self::Regular
7902 }
7903}
7904
7905impl From<Regular> for ::core::option::Option<crate::views::Glass> {
7906 fn from(_: Regular) -> Self {
7907 ::core::option::Option::Some(crate::views::Glass::Regular)
7908 }
7909}
7910
7911impl From<Regular> for crate::views::MaterialKind {
7912 fn from(_: Regular) -> Self {
7913 Self::Regular
7914 }
7915}
7916
7917impl From<Regular> for ::core::option::Option<crate::views::MaterialKind> {
7918 fn from(_: Regular) -> Self {
7919 ::core::option::Option::Some(crate::views::MaterialKind::Regular)
7920 }
7921}
7922
7923impl From<Regular> for crate::views::Weight {
7924 fn from(_: Regular) -> Self {
7925 Self::Regular
7926 }
7927}
7928
7929impl From<Regular> for ::core::option::Option<crate::views::Weight> {
7930 fn from(_: Regular) -> Self {
7931 ::core::option::Option::Some(crate::views::Weight::Regular)
7932 }
7933}
7934
7935impl From<Repeat> for crate::views::KeyPressPhases {
7936 fn from(_: Repeat) -> Self {
7937 Self::Repeat
7938 }
7939}
7940
7941impl From<Repeat> for ::core::option::Option<crate::views::KeyPressPhases> {
7942 fn from(_: Repeat) -> Self {
7943 ::core::option::Option::Some(crate::views::KeyPressPhases::Repeat)
7944 }
7945}
7946
7947impl From<Required> for crate::views::TouchBarItemPresence {
7948 fn from(_: Required) -> Self {
7949 Self::Required
7950 }
7951}
7952
7953impl From<Required> for ::core::option::Option<crate::views::TouchBarItemPresence> {
7954 fn from(_: Required) -> Self {
7955 ::core::option::Option::Some(crate::views::TouchBarItemPresence::Required)
7956 }
7957}
7958
7959impl From<RequiresActivation> for crate::views::DirectTouchOption {
7960 fn from(_: RequiresActivation) -> Self {
7961 Self::RequiresActivation
7962 }
7963}
7964
7965impl From<RequiresActivation> for ::core::option::Option<crate::views::DirectTouchOption> {
7966 fn from(_: RequiresActivation) -> Self {
7967 ::core::option::Option::Some(crate::views::DirectTouchOption::RequiresActivation)
7968 }
7969}
7970
7971impl From<Resizes> for crate::views::PresentationContentInteraction {
7972 fn from(_: Resizes) -> Self {
7973 Self::Resizes
7974 }
7975}
7976
7977impl From<Resizes> for ::core::option::Option<crate::views::PresentationContentInteraction> {
7978 fn from(_: Resizes) -> Self {
7979 ::core::option::Option::Some(crate::views::PresentationContentInteraction::Resizes)
7980 }
7981}
7982
7983impl From<Return> for crate::views::Key {
7984 fn from(_: Return) -> Self {
7985 Self::Return
7986 }
7987}
7988
7989impl From<Return> for ::core::option::Option<crate::views::Key> {
7990 fn from(_: Return) -> Self {
7991 ::core::option::Option::Some(crate::views::Key::Return)
7992 }
7993}
7994
7995impl From<Return> for crate::views::SubmitLabel {
7996 fn from(_: Return) -> Self {
7997 Self::Return
7998 }
7999}
8000
8001impl From<Return> for ::core::option::Option<crate::views::SubmitLabel> {
8002 fn from(_: Return) -> Self {
8003 ::core::option::Option::Some(crate::views::SubmitLabel::Return)
8004 }
8005}
8006
8007impl From<RightArrow> for crate::views::Key {
8008 fn from(_: RightArrow) -> Self {
8009 Self::RightArrow
8010 }
8011}
8012
8013impl From<RightArrow> for ::core::option::Option<crate::views::Key> {
8014 fn from(_: RightArrow) -> Self {
8015 ::core::option::Option::Some(crate::views::Key::RightArrow)
8016 }
8017}
8018
8019impl From<RightToLeft> for crate::views::LayoutDirection {
8020 fn from(_: RightToLeft) -> Self {
8021 Self::RightToLeft
8022 }
8023}
8024
8025impl From<RightToLeft> for ::core::option::Option<crate::views::LayoutDirection> {
8026 fn from(_: RightToLeft) -> Self {
8027 ::core::option::Option::Some(crate::views::LayoutDirection::RightToLeft)
8028 }
8029}
8030
8031impl From<Rotate> for crate::views::SymbolEffect {
8032 fn from(_: Rotate) -> Self {
8033 Self::Rotate
8034 }
8035}
8036
8037impl From<Rotate> for ::core::option::Option<crate::views::SymbolEffect> {
8038 fn from(_: Rotate) -> Self {
8039 ::core::option::Option::Some(crate::views::SymbolEffect::Rotate)
8040 }
8041}
8042
8043impl From<Rounded> for crate::views::Design {
8044 fn from(_: Rounded) -> Self {
8045 Self::Rounded
8046 }
8047}
8048
8049impl From<Rounded> for ::core::option::Option<crate::views::Design> {
8050 fn from(_: Rounded) -> Self {
8051 ::core::option::Option::Some(crate::views::Design::Rounded)
8052 }
8053}
8054
8055impl From<RoundedBorderTextFieldStyle> for crate::views::TextFieldStyle {
8056 fn from(_: RoundedBorderTextFieldStyle) -> Self {
8057 Self::RoundedBorderTextFieldStyle
8058 }
8059}
8060
8061impl From<RoundedBorderTextFieldStyle> for ::core::option::Option<crate::views::TextFieldStyle> {
8062 fn from(_: RoundedBorderTextFieldStyle) -> Self {
8063 ::core::option::Option::Some(crate::views::TextFieldStyle::RoundedBorderTextFieldStyle)
8064 }
8065}
8066
8067impl From<RoundedRectangle> for crate::views::ButtonBorderShape {
8068 fn from(_: RoundedRectangle) -> Self {
8069 Self::RoundedRectangle
8070 }
8071}
8072
8073impl From<RoundedRectangle> for ::core::option::Option<crate::views::ButtonBorderShape> {
8074 fn from(_: RoundedRectangle) -> Self {
8075 ::core::option::Option::Some(crate::views::ButtonBorderShape::RoundedRectangle)
8076 }
8077}
8078
8079impl From<Route> for crate::views::SubmitLabel {
8080 fn from(_: Route) -> Self {
8081 Self::Route
8082 }
8083}
8084
8085impl From<Route> for ::core::option::Option<crate::views::SubmitLabel> {
8086 fn from(_: Route) -> Self {
8087 ::core::option::Option::Some(crate::views::SubmitLabel::Route)
8088 }
8089}
8090
8091impl From<RowResize> for crate::views::PointerStyle {
8092 fn from(_: RowResize) -> Self {
8093 Self::RowResize
8094 }
8095}
8096
8097impl From<RowResize> for ::core::option::Option<crate::views::PointerStyle> {
8098 fn from(_: RowResize) -> Self {
8099 ::core::option::Option::Some(crate::views::PointerStyle::RowResize)
8100 }
8101}
8102
8103impl From<ScrollIndicators> for crate::views::ContentMarginPlacement {
8104 fn from(_: ScrollIndicators) -> Self {
8105 Self::ScrollIndicators
8106 }
8107}
8108
8109impl From<ScrollIndicators> for ::core::option::Option<crate::views::ContentMarginPlacement> {
8110 fn from(_: ScrollIndicators) -> Self {
8111 ::core::option::Option::Some(crate::views::ContentMarginPlacement::ScrollIndicators)
8112 }
8113}
8114
8115impl From<Scrolls> for crate::views::PresentationContentInteraction {
8116 fn from(_: Scrolls) -> Self {
8117 Self::Scrolls
8118 }
8119}
8120
8121impl From<Scrolls> for ::core::option::Option<crate::views::PresentationContentInteraction> {
8122 fn from(_: Scrolls) -> Self {
8123 ::core::option::Option::Some(crate::views::PresentationContentInteraction::Scrolls)
8124 }
8125}
8126
8127impl From<Search> for crate::views::SubmitLabel {
8128 fn from(_: Search) -> Self {
8129 Self::Search
8130 }
8131}
8132
8133impl From<Search> for ::core::option::Option<crate::views::SubmitLabel> {
8134 fn from(_: Search) -> Self {
8135 ::core::option::Option::Some(crate::views::SubmitLabel::Search)
8136 }
8137}
8138
8139impl From<Search> for crate::views::SubmitTrigger {
8140 fn from(_: Search) -> Self {
8141 Self::Search
8142 }
8143}
8144
8145impl From<Search> for ::core::option::Option<crate::views::SubmitTrigger> {
8146 fn from(_: Search) -> Self {
8147 ::core::option::Option::Some(crate::views::SubmitTrigger::Search)
8148 }
8149}
8150
8151impl From<SearchTabSelection> for crate::views::TabSearchActivation {
8152 fn from(_: SearchTabSelection) -> Self {
8153 Self::SearchTabSelection
8154 }
8155}
8156
8157impl From<SearchTabSelection> for ::core::option::Option<crate::views::TabSearchActivation> {
8158 fn from(_: SearchTabSelection) -> Self {
8159 ::core::option::Option::Some(crate::views::TabSearchActivation::SearchTabSelection)
8160 }
8161}
8162
8163impl From<Secondary> for crate::views::Hierarchical {
8164 fn from(_: Secondary) -> Self {
8165 Self::Secondary
8166 }
8167}
8168
8169impl From<Secondary> for ::core::option::Option<crate::views::Hierarchical> {
8170 fn from(_: Secondary) -> Self {
8171 ::core::option::Option::Some(crate::views::Hierarchical::Secondary)
8172 }
8173}
8174
8175impl From<Secondary> for crate::views::SystemColor {
8176 fn from(_: Secondary) -> Self {
8177 Self::Secondary
8178 }
8179}
8180
8181impl From<Secondary> for ::core::option::Option<crate::views::SystemColor> {
8182 fn from(_: Secondary) -> Self {
8183 ::core::option::Option::Some(crate::views::SystemColor::Secondary)
8184 }
8185}
8186
8187impl From<Secondary> for crate::views::TextScale {
8188 fn from(_: Secondary) -> Self {
8189 Self::Secondary
8190 }
8191}
8192
8193impl From<Secondary> for ::core::option::Option<crate::views::TextScale> {
8194 fn from(_: Secondary) -> Self {
8195 ::core::option::Option::Some(crate::views::TextScale::Secondary)
8196 }
8197}
8198
8199impl From<SecondaryAction> for crate::views::ToolbarItemPlacement {
8200 fn from(_: SecondaryAction) -> Self {
8201 Self::SecondaryAction
8202 }
8203}
8204
8205impl From<SecondaryAction> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
8206 fn from(_: SecondaryAction) -> Self {
8207 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::SecondaryAction)
8208 }
8209}
8210
8211impl From<SegmentedPickerStyle> for crate::views::PickerStyle {
8212 fn from(_: SegmentedPickerStyle) -> Self {
8213 Self::SegmentedPickerStyle
8214 }
8215}
8216
8217impl From<SegmentedPickerStyle> for ::core::option::Option<crate::views::PickerStyle> {
8218 fn from(_: SegmentedPickerStyle) -> Self {
8219 ::core::option::Option::Some(crate::views::PickerStyle::SegmentedPickerStyle)
8220 }
8221}
8222
8223impl From<Selection> for crate::views::SensoryFeedback {
8224 fn from(_: Selection) -> Self {
8225 Self::Selection
8226 }
8227}
8228
8229impl From<Selection> for ::core::option::Option<crate::views::SensoryFeedback> {
8230 fn from(_: Selection) -> Self {
8231 ::core::option::Option::Some(crate::views::SensoryFeedback::Selection)
8232 }
8233}
8234
8235impl From<SelectionShapeStyle> for crate::views::ShapeStyle {
8236 fn from(_: SelectionShapeStyle) -> Self {
8237 Self::SelectionShapeStyle
8238 }
8239}
8240
8241impl From<SelectionShapeStyle> for ::core::option::Option<crate::views::ShapeStyle> {
8242 fn from(_: SelectionShapeStyle) -> Self {
8243 ::core::option::Option::Some(crate::views::ShapeStyle::SelectionShapeStyle)
8244 }
8245}
8246
8247impl From<Semibold> for crate::views::Weight {
8248 fn from(_: Semibold) -> Self {
8249 Self::Semibold
8250 }
8251}
8252
8253impl From<Semibold> for ::core::option::Option<crate::views::Weight> {
8254 fn from(_: Semibold) -> Self {
8255 ::core::option::Option::Some(crate::views::Weight::Semibold)
8256 }
8257}
8258
8259impl From<Send> for crate::views::SubmitLabel {
8260 fn from(_: Send) -> Self {
8261 Self::Send
8262 }
8263}
8264
8265impl From<Send> for ::core::option::Option<crate::views::SubmitLabel> {
8266 fn from(_: Send) -> Self {
8267 ::core::option::Option::Some(crate::views::SubmitLabel::Send)
8268 }
8269}
8270
8271#[cfg(not(target_os = "macos"))]
8272impl From<Sentences> for crate::views::Autocapitalization {
8273 fn from(_: Sentences) -> Self {
8274 Self::Sentences
8275 }
8276}
8277
8278#[cfg(not(target_os = "macos"))]
8279impl From<Sentences> for ::core::option::Option<crate::views::Autocapitalization> {
8280 fn from(_: Sentences) -> Self {
8281 ::core::option::Option::Some(crate::views::Autocapitalization::Sentences)
8282 }
8283}
8284
8285#[cfg(not(target_os = "macos"))]
8286impl From<Sentences> for crate::views::TextInputCapitalization {
8287 fn from(_: Sentences) -> Self {
8288 Self::Sentences
8289 }
8290}
8291
8292#[cfg(not(target_os = "macos"))]
8293impl From<Sentences> for ::core::option::Option<crate::views::TextInputCapitalization> {
8294 fn from(_: Sentences) -> Self {
8295 ::core::option::Option::Some(crate::views::TextInputCapitalization::Sentences)
8296 }
8297}
8298
8299impl From<SeparatorShapeStyle> for crate::views::ShapeStyle {
8300 fn from(_: SeparatorShapeStyle) -> Self {
8301 Self::SeparatorShapeStyle
8302 }
8303}
8304
8305impl From<SeparatorShapeStyle> for ::core::option::Option<crate::views::ShapeStyle> {
8306 fn from(_: SeparatorShapeStyle) -> Self {
8307 ::core::option::Option::Some(crate::views::ShapeStyle::SeparatorShapeStyle)
8308 }
8309}
8310
8311impl From<Serif> for crate::views::Design {
8312 fn from(_: Serif) -> Self {
8313 Self::Serif
8314 }
8315}
8316
8317impl From<Serif> for ::core::option::Option<crate::views::Design> {
8318 fn from(_: Serif) -> Self {
8319 ::core::option::Option::Some(crate::views::Design::Serif)
8320 }
8321}
8322
8323impl From<Sheet> for crate::views::PresentationAdaptation {
8324 fn from(_: Sheet) -> Self {
8325 Self::Sheet
8326 }
8327}
8328
8329impl From<Sheet> for ::core::option::Option<crate::views::PresentationAdaptation> {
8330 fn from(_: Sheet) -> Self {
8331 ::core::option::Option::Some(crate::views::PresentationAdaptation::Sheet)
8332 }
8333}
8334
8335impl From<Shift> for crate::views::EventModifier {
8336 fn from(_: Shift) -> Self {
8337 Self::Shift
8338 }
8339}
8340
8341impl From<Shift> for ::core::option::Option<crate::views::EventModifier> {
8342 fn from(_: Shift) -> Self {
8343 ::core::option::Option::Some(crate::views::EventModifier::Shift)
8344 }
8345}
8346
8347impl From<ShowMenu> for crate::views::ActionKind {
8348 fn from(_: ShowMenu) -> Self {
8349 Self::ShowMenu
8350 }
8351}
8352
8353impl From<ShowMenu> for ::core::option::Option<crate::views::ActionKind> {
8354 fn from(_: ShowMenu) -> Self {
8355 ::core::option::Option::Some(crate::views::ActionKind::ShowMenu)
8356 }
8357}
8358
8359impl From<Sidebar> for crate::views::SearchFieldPlacement {
8360 fn from(_: Sidebar) -> Self {
8361 Self::Sidebar
8362 }
8363}
8364
8365impl From<Sidebar> for ::core::option::Option<crate::views::SearchFieldPlacement> {
8366 fn from(_: Sidebar) -> Self {
8367 ::core::option::Option::Some(crate::views::SearchFieldPlacement::Sidebar)
8368 }
8369}
8370
8371impl From<SidebarAdaptable> for crate::views::TabStyle {
8372 fn from(_: SidebarAdaptable) -> Self {
8373 Self::SidebarAdaptable
8374 }
8375}
8376
8377impl From<SidebarAdaptable> for ::core::option::Option<crate::views::TabStyle> {
8378 fn from(_: SidebarAdaptable) -> Self {
8379 ::core::option::Option::Some(crate::views::TabStyle::SidebarAdaptable)
8380 }
8381}
8382
8383impl From<SidebarListStyle> for crate::views::ListStyle {
8384 fn from(_: SidebarListStyle) -> Self {
8385 Self::SidebarListStyle
8386 }
8387}
8388
8389impl From<SidebarListStyle> for ::core::option::Option<crate::views::ListStyle> {
8390 fn from(_: SidebarListStyle) -> Self {
8391 ::core::option::Option::Some(crate::views::ListStyle::SidebarListStyle)
8392 }
8393}
8394
8395impl From<SignIn> for crate::views::AppleButtonLabel {
8396 fn from(_: SignIn) -> Self {
8397 Self::SignIn
8398 }
8399}
8400
8401impl From<SignIn> for ::core::option::Option<crate::views::AppleButtonLabel> {
8402 fn from(_: SignIn) -> Self {
8403 ::core::option::Option::Some(crate::views::AppleButtonLabel::SignIn)
8404 }
8405}
8406
8407impl From<SignUp> for crate::views::AppleButtonLabel {
8408 fn from(_: SignUp) -> Self {
8409 Self::SignUp
8410 }
8411}
8412
8413impl From<SignUp> for ::core::option::Option<crate::views::AppleButtonLabel> {
8414 fn from(_: SignUp) -> Self {
8415 ::core::option::Option::Some(crate::views::AppleButtonLabel::SignUp)
8416 }
8417}
8418
8419impl From<SilentOnTouch> for crate::views::DirectTouchOption {
8420 fn from(_: SilentOnTouch) -> Self {
8421 Self::SilentOnTouch
8422 }
8423}
8424
8425impl From<SilentOnTouch> for ::core::option::Option<crate::views::DirectTouchOption> {
8426 fn from(_: SilentOnTouch) -> Self {
8427 ::core::option::Option::Some(crate::views::DirectTouchOption::SilentOnTouch)
8428 }
8429}
8430
8431impl From<Size> for crate::views::GeometryProperties {
8432 fn from(_: Size) -> Self {
8433 Self::Size
8434 }
8435}
8436
8437impl From<Size> for ::core::option::Option<crate::views::GeometryProperties> {
8438 fn from(_: Size) -> Self {
8439 ::core::option::Option::Some(crate::views::GeometryProperties::Size)
8440 }
8441}
8442
8443impl From<SizeChanges> for crate::views::ScrollAnchorRole {
8444 fn from(_: SizeChanges) -> Self {
8445 Self::SizeChanges
8446 }
8447}
8448
8449impl From<SizeChanges> for ::core::option::Option<crate::views::ScrollAnchorRole> {
8450 fn from(_: SizeChanges) -> Self {
8451 ::core::option::Option::Some(crate::views::ScrollAnchorRole::SizeChanges)
8452 }
8453}
8454
8455impl From<SizeThatFits> for crate::views::PreviewLayout {
8456 fn from(_: SizeThatFits) -> Self {
8457 Self::SizeThatFits
8458 }
8459}
8460
8461impl From<SizeThatFits> for ::core::option::Option<crate::views::PreviewLayout> {
8462 fn from(_: SizeThatFits) -> Self {
8463 ::core::option::Option::Some(crate::views::PreviewLayout::SizeThatFits)
8464 }
8465}
8466
8467impl From<Slash> for crate::views::SymbolVariants {
8468 fn from(_: Slash) -> Self {
8469 Self::Slash
8470 }
8471}
8472
8473impl From<Slash> for ::core::option::Option<crate::views::SymbolVariants> {
8474 fn from(_: Slash) -> Self {
8475 ::core::option::Option::Some(crate::views::SymbolVariants::Slash)
8476 }
8477}
8478
8479impl From<Small> for crate::views::ControlSize {
8480 fn from(_: Small) -> Self {
8481 Self::Small
8482 }
8483}
8484
8485impl From<Small> for ::core::option::Option<crate::views::ControlSize> {
8486 fn from(_: Small) -> Self {
8487 ::core::option::Option::Some(crate::views::ControlSize::Small)
8488 }
8489}
8490
8491impl From<Small> for crate::views::DynamicTypeSize {
8492 fn from(_: Small) -> Self {
8493 Self::Small
8494 }
8495}
8496
8497impl From<Small> for ::core::option::Option<crate::views::DynamicTypeSize> {
8498 fn from(_: Small) -> Self {
8499 ::core::option::Option::Some(crate::views::DynamicTypeSize::Small)
8500 }
8501}
8502
8503impl From<Small> for crate::views::ImageScale {
8504 fn from(_: Small) -> Self {
8505 Self::Small
8506 }
8507}
8508
8509impl From<Small> for ::core::option::Option<crate::views::ImageScale> {
8510 fn from(_: Small) -> Self {
8511 ::core::option::Option::Some(crate::views::ImageScale::Small)
8512 }
8513}
8514
8515impl From<Soft> for crate::views::ScrollEdgeEffectStyle {
8516 fn from(_: Soft) -> Self {
8517 Self::Soft
8518 }
8519}
8520
8521impl From<Soft> for ::core::option::Option<crate::views::ScrollEdgeEffectStyle> {
8522 fn from(_: Soft) -> Self {
8523 ::core::option::Option::Some(crate::views::ScrollEdgeEffectStyle::Soft)
8524 }
8525}
8526
8527impl From<Solid> for crate::views::LinePattern {
8528 fn from(_: Solid) -> Self {
8529 Self::Solid
8530 }
8531}
8532
8533impl From<Solid> for ::core::option::Option<crate::views::LinePattern> {
8534 fn from(_: Solid) -> Self {
8535 ::core::option::Option::Some(crate::views::LinePattern::Solid)
8536 }
8537}
8538
8539impl From<SourceCode> for crate::views::TextContentType {
8540 fn from(_: SourceCode) -> Self {
8541 Self::SourceCode
8542 }
8543}
8544
8545impl From<SourceCode> for ::core::option::Option<crate::views::TextContentType> {
8546 fn from(_: SourceCode) -> Self {
8547 ::core::option::Option::Some(crate::views::TextContentType::SourceCode)
8548 }
8549}
8550
8551impl From<Space> for crate::views::Key {
8552 fn from(_: Space) -> Self {
8553 Self::Space
8554 }
8555}
8556
8557impl From<Space> for ::core::option::Option<crate::views::Key> {
8558 fn from(_: Space) -> Self {
8559 ::core::option::Option::Some(crate::views::Key::Space)
8560 }
8561}
8562
8563impl From<Spreadsheet> for crate::views::TextContentType {
8564 fn from(_: Spreadsheet) -> Self {
8565 Self::Spreadsheet
8566 }
8567}
8568
8569impl From<Spreadsheet> for ::core::option::Option<crate::views::TextContentType> {
8570 fn from(_: Spreadsheet) -> Self {
8571 ::core::option::Option::Some(crate::views::TextContentType::Spreadsheet)
8572 }
8573}
8574
8575impl From<Square> for crate::views::SymbolVariants {
8576 fn from(_: Square) -> Self {
8577 Self::Square
8578 }
8579}
8580
8581impl From<Square> for ::core::option::Option<crate::views::SymbolVariants> {
8582 fn from(_: Square) -> Self {
8583 ::core::option::Option::Some(crate::views::SymbolVariants::Square)
8584 }
8585}
8586
8587impl From<SquareBorderTextFieldStyle> for crate::views::TextFieldStyle {
8588 fn from(_: SquareBorderTextFieldStyle) -> Self {
8589 Self::SquareBorderTextFieldStyle
8590 }
8591}
8592
8593impl From<SquareBorderTextFieldStyle> for ::core::option::Option<crate::views::TextFieldStyle> {
8594 fn from(_: SquareBorderTextFieldStyle) -> Self {
8595 ::core::option::Option::Some(crate::views::TextFieldStyle::SquareBorderTextFieldStyle)
8596 }
8597}
8598
8599impl From<Stack> for crate::views::DragDropPreviewsFormation {
8600 fn from(_: Stack) -> Self {
8601 Self::Stack
8602 }
8603}
8604
8605impl From<Stack> for ::core::option::Option<crate::views::DragDropPreviewsFormation> {
8606 fn from(_: Stack) -> Self {
8607 ::core::option::Option::Some(crate::views::DragDropPreviewsFormation::Stack)
8608 }
8609}
8610
8611impl From<Standard> for crate::views::BadgeProminence {
8612 fn from(_: Standard) -> Self {
8613 Self::Standard
8614 }
8615}
8616
8617impl From<Standard> for ::core::option::Option<crate::views::BadgeProminence> {
8618 fn from(_: Standard) -> Self {
8619 ::core::option::Option::Some(crate::views::BadgeProminence::Standard)
8620 }
8621}
8622
8623impl From<Standard> for crate::views::DialogSeverity {
8624 fn from(_: Standard) -> Self {
8625 Self::Standard
8626 }
8627}
8628
8629impl From<Standard> for ::core::option::Option<crate::views::DialogSeverity> {
8630 fn from(_: Standard) -> Self {
8631 ::core::option::Option::Some(crate::views::DialogSeverity::Standard)
8632 }
8633}
8634
8635impl From<Standard> for crate::views::DynamicRange {
8636 fn from(_: Standard) -> Self {
8637 Self::Standard
8638 }
8639}
8640
8641impl From<Standard> for ::core::option::Option<crate::views::DynamicRange> {
8642 fn from(_: Standard) -> Self {
8643 ::core::option::Option::Some(crate::views::DynamicRange::Standard)
8644 }
8645}
8646
8647impl From<Standard> for crate::views::FontWidth {
8648 fn from(_: Standard) -> Self {
8649 Self::Standard
8650 }
8651}
8652
8653impl From<Standard> for ::core::option::Option<crate::views::FontWidth> {
8654 fn from(_: Standard) -> Self {
8655 ::core::option::Option::Some(crate::views::FontWidth::Standard)
8656 }
8657}
8658
8659impl From<Standard> for crate::views::Prominence {
8660 fn from(_: Standard) -> Self {
8661 Self::Standard
8662 }
8663}
8664
8665impl From<Standard> for ::core::option::Option<crate::views::Prominence> {
8666 fn from(_: Standard) -> Self {
8667 ::core::option::Option::Some(crate::views::Prominence::Standard)
8668 }
8669}
8670
8671impl From<Start> for crate::views::SensoryFeedback {
8672 fn from(_: Start) -> Self {
8673 Self::Start
8674 }
8675}
8676
8677impl From<Start> for ::core::option::Option<crate::views::SensoryFeedback> {
8678 fn from(_: Start) -> Self {
8679 ::core::option::Option::Some(crate::views::SensoryFeedback::Start)
8680 }
8681}
8682
8683impl From<StartsMediaSession> for crate::views::AccessibilityTrait {
8684 fn from(_: StartsMediaSession) -> Self {
8685 Self::StartsMediaSession
8686 }
8687}
8688
8689impl From<StartsMediaSession> for ::core::option::Option<crate::views::AccessibilityTrait> {
8690 fn from(_: StartsMediaSession) -> Self {
8691 ::core::option::Option::Some(crate::views::AccessibilityTrait::StartsMediaSession)
8692 }
8693}
8694
8695impl From<Status> for crate::views::ToolbarItemPlacement {
8696 fn from(_: Status) -> Self {
8697 Self::Status
8698 }
8699}
8700
8701impl From<Status> for ::core::option::Option<crate::views::ToolbarItemPlacement> {
8702 fn from(_: Status) -> Self {
8703 ::core::option::Option::Some(crate::views::ToolbarItemPlacement::Status)
8704 }
8705}
8706
8707impl From<StepperFieldDatePickerStyle> for crate::views::DatePickerStyle {
8708 fn from(_: StepperFieldDatePickerStyle) -> Self {
8709 Self::StepperFieldDatePickerStyle
8710 }
8711}
8712
8713impl From<StepperFieldDatePickerStyle> for ::core::option::Option<crate::views::DatePickerStyle> {
8714 fn from(_: StepperFieldDatePickerStyle) -> Self {
8715 ::core::option::Option::Some(crate::views::DatePickerStyle::StepperFieldDatePickerStyle)
8716 }
8717}
8718
8719impl From<Stop> for crate::views::SensoryFeedback {
8720 fn from(_: Stop) -> Self {
8721 Self::Stop
8722 }
8723}
8724
8725impl From<Stop> for ::core::option::Option<crate::views::SensoryFeedback> {
8726 fn from(_: Stop) -> Self {
8727 ::core::option::Option::Some(crate::views::SensoryFeedback::Stop)
8728 }
8729}
8730
8731impl From<Str> for crate::views::HashableKind {
8732 fn from(_: Str) -> Self {
8733 Self::Str
8734 }
8735}
8736
8737impl From<Str> for ::core::option::Option<crate::views::HashableKind> {
8738 fn from(_: Str) -> Self {
8739 ::core::option::Option::Some(crate::views::HashableKind::Str)
8740 }
8741}
8742
8743impl From<Stretch> for crate::views::ResizingMode {
8744 fn from(_: Stretch) -> Self {
8745 Self::Stretch
8746 }
8747}
8748
8749impl From<Stretch> for ::core::option::Option<crate::views::ResizingMode> {
8750 fn from(_: Stretch) -> Self {
8751 ::core::option::Option::Some(crate::views::ResizingMode::Stretch)
8752 }
8753}
8754
8755impl From<Subheadline> for crate::views::TextStyle {
8756 fn from(_: Subheadline) -> Self {
8757 Self::Subheadline
8758 }
8759}
8760
8761impl From<Subheadline> for ::core::option::Option<crate::views::TextStyle> {
8762 fn from(_: Subheadline) -> Self {
8763 ::core::option::Option::Some(crate::views::TextStyle::Subheadline)
8764 }
8765}
8766
8767impl From<Subviews> for crate::views::GestureMask {
8768 fn from(_: Subviews) -> Self {
8769 Self::Subviews
8770 }
8771}
8772
8773impl From<Subviews> for ::core::option::Option<crate::views::GestureMask> {
8774 fn from(_: Subviews) -> Self {
8775 ::core::option::Option::Some(crate::views::GestureMask::Subviews)
8776 }
8777}
8778
8779impl From<Success> for crate::views::SensoryFeedback {
8780 fn from(_: Success) -> Self {
8781 Self::Success
8782 }
8783}
8784
8785impl From<Success> for ::core::option::Option<crate::views::SensoryFeedback> {
8786 fn from(_: Success) -> Self {
8787 ::core::option::Option::Some(crate::views::SensoryFeedback::Success)
8788 }
8789}
8790
8791impl From<SwitchToggleStyle> for crate::views::ToggleStyle {
8792 fn from(_: SwitchToggleStyle) -> Self {
8793 Self::SwitchToggleStyle
8794 }
8795}
8796
8797impl From<SwitchToggleStyle> for ::core::option::Option<crate::views::ToggleStyle> {
8798 fn from(_: SwitchToggleStyle) -> Self {
8799 ::core::option::Option::Some(crate::views::ToggleStyle::SwitchToggleStyle)
8800 }
8801}
8802
8803impl From<Tab> for crate::views::Key {
8804 fn from(_: Tab) -> Self {
8805 Self::Tab
8806 }
8807}
8808
8809impl From<Tab> for ::core::option::Option<crate::views::Key> {
8810 fn from(_: Tab) -> Self {
8811 ::core::option::Option::Some(crate::views::Key::Tab)
8812 }
8813}
8814
8815#[cfg(not(target_os = "macos"))]
8816impl From<TabBar> for crate::views::ToolbarPlacement {
8817 fn from(_: TabBar) -> Self {
8818 Self::TabBar
8819 }
8820}
8821
8822#[cfg(not(target_os = "macos"))]
8823impl From<TabBar> for ::core::option::Option<crate::views::ToolbarPlacement> {
8824 fn from(_: TabBar) -> Self {
8825 ::core::option::Option::Some(crate::views::ToolbarPlacement::TabBar)
8826 }
8827}
8828
8829impl From<TabBarOnly> for crate::views::TabStyle {
8830 fn from(_: TabBarOnly) -> Self {
8831 Self::TabBarOnly
8832 }
8833}
8834
8835impl From<TabBarOnly> for ::core::option::Option<crate::views::TabStyle> {
8836 fn from(_: TabBarOnly) -> Self {
8837 ::core::option::Option::Some(crate::views::TabStyle::TabBarOnly)
8838 }
8839}
8840
8841#[cfg(not(target_os = "macos"))]
8842impl From<TabViewAccessory> for crate::views::ContentToolbarPlacement {
8843 fn from(_: TabViewAccessory) -> Self {
8844 Self::TabViewAccessory
8845 }
8846}
8847
8848#[cfg(not(target_os = "macos"))]
8849impl From<TabViewAccessory> for ::core::option::Option<crate::views::ContentToolbarPlacement> {
8850 fn from(_: TabViewAccessory) -> Self {
8851 ::core::option::Option::Some(crate::views::ContentToolbarPlacement::TabViewAccessory)
8852 }
8853}
8854
8855#[cfg(not(target_os = "macos"))]
8856impl From<TabViewSidebar> for crate::views::ContentToolbarPlacement {
8857 fn from(_: TabViewSidebar) -> Self {
8858 Self::TabViewSidebar
8859 }
8860}
8861
8862#[cfg(not(target_os = "macos"))]
8863impl From<TabViewSidebar> for ::core::option::Option<crate::views::ContentToolbarPlacement> {
8864 fn from(_: TabViewSidebar) -> Self {
8865 ::core::option::Option::Some(crate::views::ContentToolbarPlacement::TabViewSidebar)
8866 }
8867}
8868
8869impl From<Tail> for crate::views::TruncationMode {
8870 fn from(_: Tail) -> Self {
8871 Self::Tail
8872 }
8873}
8874
8875impl From<Tail> for ::core::option::Option<crate::views::TruncationMode> {
8876 fn from(_: Tail) -> Self {
8877 ::core::option::Option::Some(crate::views::TruncationMode::Tail)
8878 }
8879}
8880
8881impl From<Teal> for crate::views::SystemColor {
8882 fn from(_: Teal) -> Self {
8883 Self::Teal
8884 }
8885}
8886
8887impl From<Teal> for ::core::option::Option<crate::views::SystemColor> {
8888 fn from(_: Teal) -> Self {
8889 ::core::option::Option::Some(crate::views::SystemColor::Teal)
8890 }
8891}
8892
8893impl From<Template> for crate::views::TemplateRenderingMode {
8894 fn from(_: Template) -> Self {
8895 Self::Template
8896 }
8897}
8898
8899impl From<Template> for ::core::option::Option<crate::views::TemplateRenderingMode> {
8900 fn from(_: Template) -> Self {
8901 ::core::option::Option::Some(crate::views::TemplateRenderingMode::Template)
8902 }
8903}
8904
8905impl From<Tertiary> for crate::views::Hierarchical {
8906 fn from(_: Tertiary) -> Self {
8907 Self::Tertiary
8908 }
8909}
8910
8911impl From<Tertiary> for ::core::option::Option<crate::views::Hierarchical> {
8912 fn from(_: Tertiary) -> Self {
8913 ::core::option::Option::Some(crate::views::Hierarchical::Tertiary)
8914 }
8915}
8916
8917impl From<Text> for crate::views::ContentType {
8918 fn from(_: Text) -> Self {
8919 Self::Text
8920 }
8921}
8922
8923impl From<Text> for ::core::option::Option<crate::views::ContentType> {
8924 fn from(_: Text) -> Self {
8925 ::core::option::Option::Some(crate::views::ContentType::Text)
8926 }
8927}
8928
8929impl From<Text> for crate::views::SubmitTrigger {
8930 fn from(_: Text) -> Self {
8931 Self::Text
8932 }
8933}
8934
8935impl From<Text> for ::core::option::Option<crate::views::SubmitTrigger> {
8936 fn from(_: Text) -> Self {
8937 ::core::option::Option::Some(crate::views::SubmitTrigger::Text)
8938 }
8939}
8940
8941impl From<Thick> for crate::views::MaterialKind {
8942 fn from(_: Thick) -> Self {
8943 Self::Thick
8944 }
8945}
8946
8947impl From<Thick> for ::core::option::Option<crate::views::MaterialKind> {
8948 fn from(_: Thick) -> Self {
8949 ::core::option::Option::Some(crate::views::MaterialKind::Thick)
8950 }
8951}
8952
8953impl From<Thin> for crate::views::MaterialKind {
8954 fn from(_: Thin) -> Self {
8955 Self::Thin
8956 }
8957}
8958
8959impl From<Thin> for ::core::option::Option<crate::views::MaterialKind> {
8960 fn from(_: Thin) -> Self {
8961 ::core::option::Option::Some(crate::views::MaterialKind::Thin)
8962 }
8963}
8964
8965impl From<Thin> for crate::views::Weight {
8966 fn from(_: Thin) -> Self {
8967 Self::Thin
8968 }
8969}
8970
8971impl From<Thin> for ::core::option::Option<crate::views::Weight> {
8972 fn from(_: Thin) -> Self {
8973 ::core::option::Option::Some(crate::views::Weight::Thin)
8974 }
8975}
8976
8977impl From<Tight> for crate::views::LineHeightKind {
8978 fn from(_: Tight) -> Self {
8979 Self::Tight
8980 }
8981}
8982
8983impl From<Tight> for ::core::option::Option<crate::views::LineHeightKind> {
8984 fn from(_: Tight) -> Self {
8985 ::core::option::Option::Some(crate::views::LineHeightKind::Tight)
8986 }
8987}
8988
8989impl From<Tile> for crate::views::ResizingMode {
8990 fn from(_: Tile) -> Self {
8991 Self::Tile
8992 }
8993}
8994
8995impl From<Tile> for ::core::option::Option<crate::views::ResizingMode> {
8996 fn from(_: Tile) -> Self {
8997 ::core::option::Option::Some(crate::views::ResizingMode::Tile)
8998 }
8999}
9000
9001impl From<TintShapeStyle> for crate::views::ShapeStyle {
9002 fn from(_: TintShapeStyle) -> Self {
9003 Self::TintShapeStyle
9004 }
9005}
9006
9007impl From<TintShapeStyle> for ::core::option::Option<crate::views::ShapeStyle> {
9008 fn from(_: TintShapeStyle) -> Self {
9009 ::core::option::Option::Some(crate::views::ShapeStyle::TintShapeStyle)
9010 }
9011}
9012
9013impl From<Title> for crate::views::TextStyle {
9014 fn from(_: Title) -> Self {
9015 Self::Title
9016 }
9017}
9018
9019impl From<Title> for ::core::option::Option<crate::views::TextStyle> {
9020 fn from(_: Title) -> Self {
9021 ::core::option::Option::Some(crate::views::TextStyle::Title)
9022 }
9023}
9024
9025impl From<Title2> for crate::views::TextStyle {
9026 fn from(_: Title2) -> Self {
9027 Self::Title2
9028 }
9029}
9030
9031impl From<Title2> for ::core::option::Option<crate::views::TextStyle> {
9032 fn from(_: Title2) -> Self {
9033 ::core::option::Option::Some(crate::views::TextStyle::Title2)
9034 }
9035}
9036
9037impl From<Title3> for crate::views::TextStyle {
9038 fn from(_: Title3) -> Self {
9039 Self::Title3
9040 }
9041}
9042
9043impl From<Title3> for ::core::option::Option<crate::views::TextStyle> {
9044 fn from(_: Title3) -> Self {
9045 ::core::option::Option::Some(crate::views::TextStyle::Title3)
9046 }
9047}
9048
9049impl From<TitleAndIconLabelStyle> for crate::views::LabelStyle {
9050 fn from(_: TitleAndIconLabelStyle) -> Self {
9051 Self::TitleAndIconLabelStyle
9052 }
9053}
9054
9055impl From<TitleAndIconLabelStyle> for ::core::option::Option<crate::views::LabelStyle> {
9056 fn from(_: TitleAndIconLabelStyle) -> Self {
9057 ::core::option::Option::Some(crate::views::LabelStyle::TitleAndIconLabelStyle)
9058 }
9059}
9060
9061impl From<TitleBarWindowStyle> for crate::views::WindowStyle {
9062 fn from(_: TitleBarWindowStyle) -> Self {
9063 Self::TitleBarWindowStyle
9064 }
9065}
9066
9067impl From<TitleBarWindowStyle> for ::core::option::Option<crate::views::WindowStyle> {
9068 fn from(_: TitleBarWindowStyle) -> Self {
9069 ::core::option::Option::Some(crate::views::WindowStyle::TitleBarWindowStyle)
9070 }
9071}
9072
9073impl From<TitleOnlyLabelStyle> for crate::views::LabelStyle {
9074 fn from(_: TitleOnlyLabelStyle) -> Self {
9075 Self::TitleOnlyLabelStyle
9076 }
9077}
9078
9079impl From<TitleOnlyLabelStyle> for ::core::option::Option<crate::views::LabelStyle> {
9080 fn from(_: TitleOnlyLabelStyle) -> Self {
9081 ::core::option::Option::Some(crate::views::LabelStyle::TitleOnlyLabelStyle)
9082 }
9083}
9084
9085impl From<Toolbar> for crate::views::SearchFieldPlacement {
9086 fn from(_: Toolbar) -> Self {
9087 Self::Toolbar
9088 }
9089}
9090
9091impl From<Toolbar> for ::core::option::Option<crate::views::SearchFieldPlacement> {
9092 fn from(_: Toolbar) -> Self {
9093 ::core::option::Option::Some(crate::views::SearchFieldPlacement::Toolbar)
9094 }
9095}
9096
9097impl From<ToolbarPrincipal> for crate::views::SearchFieldPlacement {
9098 fn from(_: ToolbarPrincipal) -> Self {
9099 Self::ToolbarPrincipal
9100 }
9101}
9102
9103impl From<ToolbarPrincipal> for ::core::option::Option<crate::views::SearchFieldPlacement> {
9104 fn from(_: ToolbarPrincipal) -> Self {
9105 ::core::option::Option::Some(crate::views::SearchFieldPlacement::ToolbarPrincipal)
9106 }
9107}
9108
9109impl From<Top> for crate::views::Alignment {
9110 fn from(_: Top) -> Self {
9111 Self::Top
9112 }
9113}
9114
9115impl From<Top> for ::core::option::Option<crate::views::Alignment> {
9116 fn from(_: Top) -> Self {
9117 ::core::option::Option::Some(crate::views::Alignment::Top)
9118 }
9119}
9120
9121impl From<Top> for crate::views::Edge {
9122 fn from(_: Top) -> Self {
9123 Self::Top
9124 }
9125}
9126
9127impl From<Top> for ::core::option::Option<crate::views::Edge> {
9128 fn from(_: Top) -> Self {
9129 ::core::option::Option::Some(crate::views::Edge::Top)
9130 }
9131}
9132
9133impl From<Top> for crate::views::EdgeSet {
9134 fn from(_: Top) -> Self {
9135 Self::Top
9136 }
9137}
9138
9139impl From<Top> for ::core::option::Option<crate::views::EdgeSet> {
9140 fn from(_: Top) -> Self {
9141 ::core::option::Option::Some(crate::views::EdgeSet::Top)
9142 }
9143}
9144
9145impl From<Top> for crate::views::EdgeSetMember {
9146 fn from(_: Top) -> Self {
9147 Self::Top
9148 }
9149}
9150
9151impl From<Top> for ::core::option::Option<crate::views::EdgeSetMember> {
9152 fn from(_: Top) -> Self {
9153 ::core::option::Option::Some(crate::views::EdgeSetMember::Top)
9154 }
9155}
9156
9157impl From<Top> for crate::views::VerticalAlignment {
9158 fn from(_: Top) -> Self {
9159 Self::Top
9160 }
9161}
9162
9163impl From<Top> for ::core::option::Option<crate::views::VerticalAlignment> {
9164 fn from(_: Top) -> Self {
9165 ::core::option::Option::Some(crate::views::VerticalAlignment::Top)
9166 }
9167}
9168
9169impl From<Top> for crate::views::VerticalEdge {
9170 fn from(_: Top) -> Self {
9171 Self::Top
9172 }
9173}
9174
9175impl From<Top> for ::core::option::Option<crate::views::VerticalEdge> {
9176 fn from(_: Top) -> Self {
9177 ::core::option::Option::Some(crate::views::VerticalEdge::Top)
9178 }
9179}
9180
9181impl From<Top> for crate::views::VerticalEdgeSet {
9182 fn from(_: Top) -> Self {
9183 Self::Top
9184 }
9185}
9186
9187impl From<Top> for ::core::option::Option<crate::views::VerticalEdgeSet> {
9188 fn from(_: Top) -> Self {
9189 ::core::option::Option::Some(crate::views::VerticalEdgeSet::Top)
9190 }
9191}
9192
9193impl From<TopLeading> for crate::views::Alignment {
9194 fn from(_: TopLeading) -> Self {
9195 Self::TopLeading
9196 }
9197}
9198
9199impl From<TopLeading> for ::core::option::Option<crate::views::Alignment> {
9200 fn from(_: TopLeading) -> Self {
9201 ::core::option::Option::Some(crate::views::Alignment::TopLeading)
9202 }
9203}
9204
9205impl From<TopTrailing> for crate::views::Alignment {
9206 fn from(_: TopTrailing) -> Self {
9207 Self::TopTrailing
9208 }
9209}
9210
9211impl From<TopTrailing> for ::core::option::Option<crate::views::Alignment> {
9212 fn from(_: TopTrailing) -> Self {
9213 ::core::option::Option::Some(crate::views::Alignment::TopTrailing)
9214 }
9215}
9216
9217impl From<Trailing> for crate::views::Alignment {
9218 fn from(_: Trailing) -> Self {
9219 Self::Trailing
9220 }
9221}
9222
9223impl From<Trailing> for ::core::option::Option<crate::views::Alignment> {
9224 fn from(_: Trailing) -> Self {
9225 ::core::option::Option::Some(crate::views::Alignment::Trailing)
9226 }
9227}
9228
9229impl From<Trailing> for crate::views::Edge {
9230 fn from(_: Trailing) -> Self {
9231 Self::Trailing
9232 }
9233}
9234
9235impl From<Trailing> for ::core::option::Option<crate::views::Edge> {
9236 fn from(_: Trailing) -> Self {
9237 ::core::option::Option::Some(crate::views::Edge::Trailing)
9238 }
9239}
9240
9241impl From<Trailing> for crate::views::EdgeSet {
9242 fn from(_: Trailing) -> Self {
9243 Self::Trailing
9244 }
9245}
9246
9247impl From<Trailing> for ::core::option::Option<crate::views::EdgeSet> {
9248 fn from(_: Trailing) -> Self {
9249 ::core::option::Option::Some(crate::views::EdgeSet::Trailing)
9250 }
9251}
9252
9253impl From<Trailing> for crate::views::EdgeSetMember {
9254 fn from(_: Trailing) -> Self {
9255 Self::Trailing
9256 }
9257}
9258
9259impl From<Trailing> for ::core::option::Option<crate::views::EdgeSetMember> {
9260 fn from(_: Trailing) -> Self {
9261 ::core::option::Option::Some(crate::views::EdgeSetMember::Trailing)
9262 }
9263}
9264
9265impl From<Trailing> for crate::views::HorizontalAlignment {
9266 fn from(_: Trailing) -> Self {
9267 Self::Trailing
9268 }
9269}
9270
9271impl From<Trailing> for ::core::option::Option<crate::views::HorizontalAlignment> {
9272 fn from(_: Trailing) -> Self {
9273 ::core::option::Option::Some(crate::views::HorizontalAlignment::Trailing)
9274 }
9275}
9276
9277impl From<Trailing> for crate::views::HorizontalEdge {
9278 fn from(_: Trailing) -> Self {
9279 Self::Trailing
9280 }
9281}
9282
9283impl From<Trailing> for ::core::option::Option<crate::views::HorizontalEdge> {
9284 fn from(_: Trailing) -> Self {
9285 ::core::option::Option::Some(crate::views::HorizontalEdge::Trailing)
9286 }
9287}
9288
9289impl From<Trailing> for crate::views::TextAlign {
9290 fn from(_: Trailing) -> Self {
9291 Self::Trailing
9292 }
9293}
9294
9295impl From<Trailing> for ::core::option::Option<crate::views::TextAlign> {
9296 fn from(_: Trailing) -> Self {
9297 ::core::option::Option::Some(crate::views::TextAlign::Trailing)
9298 }
9299}
9300
9301#[cfg(not(target_os = "macos"))]
9302impl From<Twitter> for crate::views::KeyboardType {
9303 fn from(_: Twitter) -> Self {
9304 Self::Twitter
9305 }
9306}
9307
9308#[cfg(not(target_os = "macos"))]
9309impl From<Twitter> for ::core::option::Option<crate::views::KeyboardType> {
9310 fn from(_: Twitter) -> Self {
9311 ::core::option::Option::Some(crate::views::KeyboardType::Twitter)
9312 }
9313}
9314
9315impl From<UltraLight> for crate::views::Weight {
9316 fn from(_: UltraLight) -> Self {
9317 Self::UltraLight
9318 }
9319}
9320
9321impl From<UltraLight> for ::core::option::Option<crate::views::Weight> {
9322 fn from(_: UltraLight) -> Self {
9323 ::core::option::Option::Some(crate::views::Weight::UltraLight)
9324 }
9325}
9326
9327impl From<UltraThick> for crate::views::MaterialKind {
9328 fn from(_: UltraThick) -> Self {
9329 Self::UltraThick
9330 }
9331}
9332
9333impl From<UltraThick> for ::core::option::Option<crate::views::MaterialKind> {
9334 fn from(_: UltraThick) -> Self {
9335 ::core::option::Option::Some(crate::views::MaterialKind::UltraThick)
9336 }
9337}
9338
9339impl From<UltraThin> for crate::views::MaterialKind {
9340 fn from(_: UltraThin) -> Self {
9341 Self::UltraThin
9342 }
9343}
9344
9345impl From<UltraThin> for ::core::option::Option<crate::views::MaterialKind> {
9346 fn from(_: UltraThin) -> Self {
9347 ::core::option::Option::Some(crate::views::MaterialKind::UltraThin)
9348 }
9349}
9350
9351impl From<UnifiedCompactWindowToolbarStyle> for crate::views::WindowToolbarStyle {
9352 fn from(_: UnifiedCompactWindowToolbarStyle) -> Self {
9353 Self::UnifiedCompactWindowToolbarStyle
9354 }
9355}
9356
9357impl From<UnifiedCompactWindowToolbarStyle> for ::core::option::Option<crate::views::WindowToolbarStyle> {
9358 fn from(_: UnifiedCompactWindowToolbarStyle) -> Self {
9359 ::core::option::Option::Some(crate::views::WindowToolbarStyle::UnifiedCompactWindowToolbarStyle)
9360 }
9361}
9362
9363impl From<UnifiedWindowToolbarStyle> for crate::views::WindowToolbarStyle {
9364 fn from(_: UnifiedWindowToolbarStyle) -> Self {
9365 Self::UnifiedWindowToolbarStyle
9366 }
9367}
9368
9369impl From<UnifiedWindowToolbarStyle> for ::core::option::Option<crate::views::WindowToolbarStyle> {
9370 fn from(_: UnifiedWindowToolbarStyle) -> Self {
9371 ::core::option::Option::Some(crate::views::WindowToolbarStyle::UnifiedWindowToolbarStyle)
9372 }
9373}
9374
9375impl From<Unspecified> for crate::views::HeadingLevel {
9376 fn from(_: Unspecified) -> Self {
9377 Self::Unspecified
9378 }
9379}
9380
9381impl From<Unspecified> for ::core::option::Option<crate::views::HeadingLevel> {
9382 fn from(_: Unspecified) -> Self {
9383 ::core::option::Option::Some(crate::views::HeadingLevel::Unspecified)
9384 }
9385}
9386
9387impl From<Up> for crate::views::KeyPressPhases {
9388 fn from(_: Up) -> Self {
9389 Self::Up
9390 }
9391}
9392
9393impl From<Up> for ::core::option::Option<crate::views::KeyPressPhases> {
9394 fn from(_: Up) -> Self {
9395 ::core::option::Option::Some(crate::views::KeyPressPhases::Up)
9396 }
9397}
9398
9399impl From<UpArrow> for crate::views::Key {
9400 fn from(_: UpArrow) -> Self {
9401 Self::UpArrow
9402 }
9403}
9404
9405impl From<UpArrow> for ::core::option::Option<crate::views::Key> {
9406 fn from(_: UpArrow) -> Self {
9407 ::core::option::Option::Some(crate::views::Key::UpArrow)
9408 }
9409}
9410
9411impl From<UpdatesFrequently> for crate::views::AccessibilityTrait {
9412 fn from(_: UpdatesFrequently) -> Self {
9413 Self::UpdatesFrequently
9414 }
9415}
9416
9417impl From<UpdatesFrequently> for ::core::option::Option<crate::views::AccessibilityTrait> {
9418 fn from(_: UpdatesFrequently) -> Self {
9419 ::core::option::Option::Some(crate::views::AccessibilityTrait::UpdatesFrequently)
9420 }
9421}
9422
9423impl From<Uppercase> for crate::views::TextCase {
9424 fn from(_: Uppercase) -> Self {
9425 Self::Uppercase
9426 }
9427}
9428
9429impl From<Uppercase> for ::core::option::Option<crate::views::TextCase> {
9430 fn from(_: Uppercase) -> Self {
9431 ::core::option::Option::Some(crate::views::TextCase::Uppercase)
9432 }
9433}
9434
9435impl From<Upstream> for crate::views::TextSelectionAffinity {
9436 fn from(_: Upstream) -> Self {
9437 Self::Upstream
9438 }
9439}
9440
9441impl From<Upstream> for ::core::option::Option<crate::views::TextSelectionAffinity> {
9442 fn from(_: Upstream) -> Self {
9443 ::core::option::Option::Some(crate::views::TextSelectionAffinity::Upstream)
9444 }
9445}
9446
9447impl From<Url> for crate::views::ContentType {
9448 fn from(_: Url) -> Self {
9449 Self::Url
9450 }
9451}
9452
9453impl From<Url> for ::core::option::Option<crate::views::ContentType> {
9454 fn from(_: Url) -> Self {
9455 ::core::option::Option::Some(crate::views::ContentType::Url)
9456 }
9457}
9458
9459#[cfg(not(target_os = "macos"))]
9460impl From<Url> for crate::views::KeyboardType {
9461 fn from(_: Url) -> Self {
9462 Self::Url
9463 }
9464}
9465
9466#[cfg(not(target_os = "macos"))]
9467impl From<Url> for ::core::option::Option<crate::views::KeyboardType> {
9468 fn from(_: Url) -> Self {
9469 ::core::option::Option::Some(crate::views::KeyboardType::Url)
9470 }
9471}
9472
9473impl From<UserInitiated> for crate::views::DefaultFocusPriority {
9474 fn from(_: UserInitiated) -> Self {
9475 Self::UserInitiated
9476 }
9477}
9478
9479impl From<UserInitiated> for ::core::option::Option<crate::views::DefaultFocusPriority> {
9480 fn from(_: UserInitiated) -> Self {
9481 ::core::option::Option::Some(crate::views::DefaultFocusPriority::UserInitiated)
9482 }
9483}
9484
9485impl From<UserInitiated> for crate::views::TaskPriority {
9486 fn from(_: UserInitiated) -> Self {
9487 Self::UserInitiated
9488 }
9489}
9490
9491impl From<UserInitiated> for ::core::option::Option<crate::views::TaskPriority> {
9492 fn from(_: UserInitiated) -> Self {
9493 ::core::option::Option::Some(crate::views::TaskPriority::UserInitiated)
9494 }
9495}
9496
9497impl From<Username> for crate::views::TextContentKind {
9498 fn from(_: Username) -> Self {
9499 Self::Username
9500 }
9501}
9502
9503impl From<Username> for ::core::option::Option<crate::views::TextContentKind> {
9504 fn from(_: Username) -> Self {
9505 ::core::option::Option::Some(crate::views::TextContentKind::Username)
9506 }
9507}
9508
9509impl From<Utility> for crate::views::TaskPriority {
9510 fn from(_: Utility) -> Self {
9511 Self::Utility
9512 }
9513}
9514
9515impl From<Utility> for ::core::option::Option<crate::views::TaskPriority> {
9516 fn from(_: Utility) -> Self {
9517 ::core::option::Option::Some(crate::views::TaskPriority::Utility)
9518 }
9519}
9520
9521impl From<V> for crate::views::StackKind {
9522 fn from(_: V) -> Self {
9523 Self::V
9524 }
9525}
9526
9527impl From<V> for ::core::option::Option<crate::views::StackKind> {
9528 fn from(_: V) -> Self {
9529 ::core::option::Option::Some(crate::views::StackKind::V)
9530 }
9531}
9532
9533impl From<Variable> for crate::views::LineHeightKind {
9534 fn from(_: Variable) -> Self {
9535 Self::Variable
9536 }
9537}
9538
9539impl From<Variable> for ::core::option::Option<crate::views::LineHeightKind> {
9540 fn from(_: Variable) -> Self {
9541 ::core::option::Option::Some(crate::views::LineHeightKind::Variable)
9542 }
9543}
9544
9545impl From<VariableColor> for crate::views::SymbolEffect {
9546 fn from(_: VariableColor) -> Self {
9547 Self::VariableColor
9548 }
9549}
9550
9551impl From<VariableColor> for ::core::option::Option<crate::views::SymbolEffect> {
9552 fn from(_: VariableColor) -> Self {
9553 ::core::option::Option::Some(crate::views::SymbolEffect::VariableColor)
9554 }
9555}
9556
9557impl From<Vertical> for crate::views::Axis {
9558 fn from(_: Vertical) -> Self {
9559 Self::Vertical
9560 }
9561}
9562
9563impl From<Vertical> for ::core::option::Option<crate::views::Axis> {
9564 fn from(_: Vertical) -> Self {
9565 ::core::option::Option::Some(crate::views::Axis::Vertical)
9566 }
9567}
9568
9569impl From<Vertical> for crate::views::AxisSet {
9570 fn from(_: Vertical) -> Self {
9571 Self::Vertical
9572 }
9573}
9574
9575impl From<Vertical> for ::core::option::Option<crate::views::AxisSet> {
9576 fn from(_: Vertical) -> Self {
9577 ::core::option::Option::Some(crate::views::AxisSet::Vertical)
9578 }
9579}
9580
9581impl From<Vertical> for crate::views::EdgeSet {
9582 fn from(_: Vertical) -> Self {
9583 Self::Vertical
9584 }
9585}
9586
9587impl From<Vertical> for ::core::option::Option<crate::views::EdgeSet> {
9588 fn from(_: Vertical) -> Self {
9589 ::core::option::Option::Some(crate::views::EdgeSet::Vertical)
9590 }
9591}
9592
9593impl From<Vertical> for crate::views::EdgeSetMember {
9594 fn from(_: Vertical) -> Self {
9595 Self::Vertical
9596 }
9597}
9598
9599impl From<Vertical> for ::core::option::Option<crate::views::EdgeSetMember> {
9600 fn from(_: Vertical) -> Self {
9601 ::core::option::Option::Some(crate::views::EdgeSetMember::Vertical)
9602 }
9603}
9604
9605impl From<VerticalText> for crate::views::PointerStyle {
9606 fn from(_: VerticalText) -> Self {
9607 Self::VerticalText
9608 }
9609}
9610
9611impl From<VerticalText> for ::core::option::Option<crate::views::PointerStyle> {
9612 fn from(_: VerticalText) -> Self {
9613 ::core::option::Option::Some(crate::views::PointerStyle::VerticalText)
9614 }
9615}
9616
9617impl From<Visible> for crate::views::ScrollIndicatorVisibility {
9618 fn from(_: Visible) -> Self {
9619 Self::Visible
9620 }
9621}
9622
9623impl From<Visible> for ::core::option::Option<crate::views::ScrollIndicatorVisibility> {
9624 fn from(_: Visible) -> Self {
9625 ::core::option::Option::Some(crate::views::ScrollIndicatorVisibility::Visible)
9626 }
9627}
9628
9629impl From<Visible> for crate::views::Visibility {
9630 fn from(_: Visible) -> Self {
9631 Self::Visible
9632 }
9633}
9634
9635impl From<Visible> for ::core::option::Option<crate::views::Visibility> {
9636 fn from(_: Visible) -> Self {
9637 ::core::option::Option::Some(crate::views::Visibility::Visible)
9638 }
9639}
9640
9641impl From<Visible> for crate::views::WindowToolbarFullScreenVisibility {
9642 fn from(_: Visible) -> Self {
9643 Self::Visible
9644 }
9645}
9646
9647impl From<Visible> for ::core::option::Option<crate::views::WindowToolbarFullScreenVisibility> {
9648 fn from(_: Visible) -> Self {
9649 ::core::option::Option::Some(crate::views::WindowToolbarFullScreenVisibility::Visible)
9650 }
9651}
9652
9653impl From<Warning> for crate::views::SensoryFeedback {
9654 fn from(_: Warning) -> Self {
9655 Self::Warning
9656 }
9657}
9658
9659impl From<Warning> for ::core::option::Option<crate::views::SensoryFeedback> {
9660 fn from(_: Warning) -> Self {
9661 ::core::option::Option::Some(crate::views::SensoryFeedback::Warning)
9662 }
9663}
9664
9665#[cfg(not(target_os = "macos"))]
9666impl From<WebSearch> for crate::views::KeyboardType {
9667 fn from(_: WebSearch) -> Self {
9668 Self::WebSearch
9669 }
9670}
9671
9672#[cfg(not(target_os = "macos"))]
9673impl From<WebSearch> for ::core::option::Option<crate::views::KeyboardType> {
9674 fn from(_: WebSearch) -> Self {
9675 ::core::option::Option::Some(crate::views::KeyboardType::WebSearch)
9676 }
9677}
9678
9679impl From<White> for crate::views::AppleButtonStyle {
9680 fn from(_: White) -> Self {
9681 Self::White
9682 }
9683}
9684
9685impl From<White> for ::core::option::Option<crate::views::AppleButtonStyle> {
9686 fn from(_: White) -> Self {
9687 ::core::option::Option::Some(crate::views::AppleButtonStyle::White)
9688 }
9689}
9690
9691impl From<White> for crate::views::SystemColor {
9692 fn from(_: White) -> Self {
9693 Self::White
9694 }
9695}
9696
9697impl From<White> for ::core::option::Option<crate::views::SystemColor> {
9698 fn from(_: White) -> Self {
9699 ::core::option::Option::Some(crate::views::SystemColor::White)
9700 }
9701}
9702
9703impl From<WhiteOutline> for crate::views::AppleButtonStyle {
9704 fn from(_: WhiteOutline) -> Self {
9705 Self::WhiteOutline
9706 }
9707}
9708
9709impl From<WhiteOutline> for ::core::option::Option<crate::views::AppleButtonStyle> {
9710 fn from(_: WhiteOutline) -> Self {
9711 ::core::option::Option::Some(crate::views::AppleButtonStyle::WhiteOutline)
9712 }
9713}
9714
9715impl From<Whitespaces> for crate::views::CharacterSetKind {
9716 fn from(_: Whitespaces) -> Self {
9717 Self::Whitespaces
9718 }
9719}
9720
9721impl From<Whitespaces> for ::core::option::Option<crate::views::CharacterSetKind> {
9722 fn from(_: Whitespaces) -> Self {
9723 ::core::option::Option::Some(crate::views::CharacterSetKind::Whitespaces)
9724 }
9725}
9726
9727impl From<Wiggle> for crate::views::SymbolEffect {
9728 fn from(_: Wiggle) -> Self {
9729 Self::Wiggle
9730 }
9731}
9732
9733impl From<Wiggle> for ::core::option::Option<crate::views::SymbolEffect> {
9734 fn from(_: Wiggle) -> Self {
9735 ::core::option::Option::Some(crate::views::SymbolEffect::Wiggle)
9736 }
9737}
9738
9739impl From<WillAppear> for crate::views::TransitionPhase {
9740 fn from(_: WillAppear) -> Self {
9741 Self::WillAppear
9742 }
9743}
9744
9745impl From<WillAppear> for ::core::option::Option<crate::views::TransitionPhase> {
9746 fn from(_: WillAppear) -> Self {
9747 ::core::option::Option::Some(crate::views::TransitionPhase::WillAppear)
9748 }
9749}
9750
9751impl From<Window> for crate::views::ContainerBackgroundPlacement {
9752 fn from(_: Window) -> Self {
9753 Self::Window
9754 }
9755}
9756
9757impl From<Window> for ::core::option::Option<crate::views::ContainerBackgroundPlacement> {
9758 fn from(_: Window) -> Self {
9759 ::core::option::Option::Some(crate::views::ContainerBackgroundPlacement::Window)
9760 }
9761}
9762
9763impl From<WindowBackgroundShapeStyle> for crate::views::ShapeStyle {
9764 fn from(_: WindowBackgroundShapeStyle) -> Self {
9765 Self::WindowBackgroundShapeStyle
9766 }
9767}
9768
9769impl From<WindowBackgroundShapeStyle> for ::core::option::Option<crate::views::ShapeStyle> {
9770 fn from(_: WindowBackgroundShapeStyle) -> Self {
9771 ::core::option::Option::Some(crate::views::ShapeStyle::WindowBackgroundShapeStyle)
9772 }
9773}
9774
9775impl From<WindowToolbar> for crate::views::ToolbarPlacement {
9776 fn from(_: WindowToolbar) -> Self {
9777 Self::WindowToolbar
9778 }
9779}
9780
9781impl From<WindowToolbar> for ::core::option::Option<crate::views::ToolbarPlacement> {
9782 fn from(_: WindowToolbar) -> Self {
9783 ::core::option::Option::Some(crate::views::ToolbarPlacement::WindowToolbar)
9784 }
9785}
9786
9787impl From<WordProcessing> for crate::views::TextContentType {
9788 fn from(_: WordProcessing) -> Self {
9789 Self::WordProcessing
9790 }
9791}
9792
9793impl From<WordProcessing> for ::core::option::Option<crate::views::TextContentType> {
9794 fn from(_: WordProcessing) -> Self {
9795 ::core::option::Option::Some(crate::views::TextContentType::WordProcessing)
9796 }
9797}
9798
9799#[cfg(not(target_os = "macos"))]
9800impl From<Words> for crate::views::Autocapitalization {
9801 fn from(_: Words) -> Self {
9802 Self::Words
9803 }
9804}
9805
9806#[cfg(not(target_os = "macos"))]
9807impl From<Words> for ::core::option::Option<crate::views::Autocapitalization> {
9808 fn from(_: Words) -> Self {
9809 ::core::option::Option::Some(crate::views::Autocapitalization::Words)
9810 }
9811}
9812
9813#[cfg(not(target_os = "macos"))]
9814impl From<Words> for crate::views::TextInputCapitalization {
9815 fn from(_: Words) -> Self {
9816 Self::Words
9817 }
9818}
9819
9820#[cfg(not(target_os = "macos"))]
9821impl From<Words> for ::core::option::Option<crate::views::TextInputCapitalization> {
9822 fn from(_: Words) -> Self {
9823 ::core::option::Option::Some(crate::views::TextInputCapitalization::Words)
9824 }
9825}
9826
9827impl From<XLarge> for crate::views::DynamicTypeSize {
9828 fn from(_: XLarge) -> Self {
9829 Self::XLarge
9830 }
9831}
9832
9833impl From<XLarge> for ::core::option::Option<crate::views::DynamicTypeSize> {
9834 fn from(_: XLarge) -> Self {
9835 ::core::option::Option::Some(crate::views::DynamicTypeSize::XLarge)
9836 }
9837}
9838
9839impl From<XSmall> for crate::views::DynamicTypeSize {
9840 fn from(_: XSmall) -> Self {
9841 Self::XSmall
9842 }
9843}
9844
9845impl From<XSmall> for ::core::option::Option<crate::views::DynamicTypeSize> {
9846 fn from(_: XSmall) -> Self {
9847 ::core::option::Option::Some(crate::views::DynamicTypeSize::XSmall)
9848 }
9849}
9850
9851impl From<XxLarge> for crate::views::DynamicTypeSize {
9852 fn from(_: XxLarge) -> Self {
9853 Self::XxLarge
9854 }
9855}
9856
9857impl From<XxLarge> for ::core::option::Option<crate::views::DynamicTypeSize> {
9858 fn from(_: XxLarge) -> Self {
9859 ::core::option::Option::Some(crate::views::DynamicTypeSize::XxLarge)
9860 }
9861}
9862
9863impl From<XxxLarge> for crate::views::DynamicTypeSize {
9864 fn from(_: XxxLarge) -> Self {
9865 Self::XxxLarge
9866 }
9867}
9868
9869impl From<XxxLarge> for ::core::option::Option<crate::views::DynamicTypeSize> {
9870 fn from(_: XxxLarge) -> Self {
9871 ::core::option::Option::Some(crate::views::DynamicTypeSize::XxxLarge)
9872 }
9873}
9874
9875impl From<Yellow> for crate::views::SystemColor {
9876 fn from(_: Yellow) -> Self {
9877 Self::Yellow
9878 }
9879}
9880
9881impl From<Yellow> for ::core::option::Option<crate::views::SystemColor> {
9882 fn from(_: Yellow) -> Self {
9883 ::core::option::Option::Some(crate::views::SystemColor::Yellow)
9884 }
9885}
9886
9887impl From<Z> for crate::views::StackKind {
9888 fn from(_: Z) -> Self {
9889 Self::Z
9890 }
9891}
9892
9893impl From<Z> for ::core::option::Option<crate::views::StackKind> {
9894 fn from(_: Z) -> Self {
9895 ::core::option::Option::Some(crate::views::StackKind::Z)
9896 }
9897}
9898
9899impl From<ZoomIn> for crate::views::PointerStyle {
9900 fn from(_: ZoomIn) -> Self {
9901 Self::ZoomIn
9902 }
9903}
9904
9905impl From<ZoomIn> for ::core::option::Option<crate::views::PointerStyle> {
9906 fn from(_: ZoomIn) -> Self {
9907 ::core::option::Option::Some(crate::views::PointerStyle::ZoomIn)
9908 }
9909}
9910
9911impl From<ZoomOut> for crate::views::PointerStyle {
9912 fn from(_: ZoomOut) -> Self {
9913 Self::ZoomOut
9914 }
9915}
9916
9917impl From<ZoomOut> for ::core::option::Option<crate::views::PointerStyle> {
9918 fn from(_: ZoomOut) -> Self {
9919 ::core::option::Option::Some(crate::views::PointerStyle::ZoomOut)
9920 }
9921}