pub enum Value {
Show 48 variants
Int(i64),
Float(f64),
Bool(bool),
String(String),
StyledText(StyledText),
StringList(Vec<String>),
ComboModel(ComboModel),
Length(Length),
Percent(Percent),
Color(Color),
Brush(Brush),
Image(Image),
ImageFit(ImageFit),
ImageTileMode(ImageTileMode),
ImageHorizontalAlignment(ImageHorizontalAlignment),
ImageVerticalAlignment(ImageVerticalAlignment),
ImageRendering(ImageRendering),
LayoutAlignment(LayoutAlignment),
CrossAxisAlignment(CrossAxisAlignment),
Orientation(Orientation),
FlickDirection(FlickDirection),
FlickBoundsBehavior(FlickBoundsBehavior),
FlickBoundsMovement(FlickBoundsMovement),
FlexboxLayoutDirection(FlexboxLayoutDirection),
FlexboxLayoutWrap(FlexboxLayoutWrap),
DialInputMode(DialInputMode),
ScrollBarPolicy(ScrollBarPolicy),
ScrollSnapMode(ScrollSnapMode),
ScrollAlignment(ScrollAlignment),
TextWrap(TextWrap),
TextHorizontalAlignment(TextHorizontalAlignment),
TextVerticalAlignment(TextVerticalAlignment),
TextOverflow(TextOverflow),
InputType(InputType),
ColorScheme(ColorScheme),
FileDialogMode(FileDialogMode),
MessageLevel(MessageLevel),
MessageButtons(MessageButtons),
CheckState(CheckState),
DialogRole(DialogRole),
StandardButtonKind(StandardButtonKind),
SwipeSide(SwipeSide),
DragAction(DragAction),
DrawerEdge(DrawerEdge),
PopupPlacement(PopupPlacement),
SelectionTarget(SelectionTarget),
Date(Date),
Time(Time),
}Variants§
Int(i64)
Float(f64)
Bool(bool)
String(String)
StyledText(StyledText)
StringList(Vec<String>)
ComboModel(ComboModel)
Length(Length)
Percent(Percent)
Color(Color)
Brush(Brush)
Image(Image)
ImageFit(ImageFit)
ImageTileMode(ImageTileMode)
ImageHorizontalAlignment(ImageHorizontalAlignment)
ImageVerticalAlignment(ImageVerticalAlignment)
ImageRendering(ImageRendering)
LayoutAlignment(LayoutAlignment)
CrossAxisAlignment(CrossAxisAlignment)
Orientation(Orientation)
FlickDirection(FlickDirection)
FlickBoundsBehavior(FlickBoundsBehavior)
FlickBoundsMovement(FlickBoundsMovement)
FlexboxLayoutDirection(FlexboxLayoutDirection)
FlexboxLayoutWrap(FlexboxLayoutWrap)
DialInputMode(DialInputMode)
ScrollBarPolicy(ScrollBarPolicy)
ScrollSnapMode(ScrollSnapMode)
ScrollAlignment(ScrollAlignment)
TextWrap(TextWrap)
TextHorizontalAlignment(TextHorizontalAlignment)
TextVerticalAlignment(TextVerticalAlignment)
TextOverflow(TextOverflow)
InputType(InputType)
ColorScheme(ColorScheme)
FileDialogMode(FileDialogMode)
MessageLevel(MessageLevel)
MessageButtons(MessageButtons)
CheckState(CheckState)
DialogRole(DialogRole)
StandardButtonKind(StandardButtonKind)
SwipeSide(SwipeSide)
DragAction(DragAction)
DrawerEdge(DrawerEdge)
PopupPlacement(PopupPlacement)
SelectionTarget(SelectionTarget)
Date(Date)
Time(Time)
Trait Implementations§
Source§impl From<CheckState> for Value
impl From<CheckState> for Value
Source§fn from(value: CheckState) -> Self
fn from(value: CheckState) -> Self
Converts to this type from the input type.
Source§impl From<ColorScheme> for Value
impl From<ColorScheme> for Value
Source§fn from(value: ColorScheme) -> Self
fn from(value: ColorScheme) -> Self
Converts to this type from the input type.
Source§impl From<CrossAxisAlignment> for Value
impl From<CrossAxisAlignment> for Value
Source§fn from(value: CrossAxisAlignment) -> Self
fn from(value: CrossAxisAlignment) -> Self
Converts to this type from the input type.
Source§impl From<DialInputMode> for Value
impl From<DialInputMode> for Value
Source§fn from(value: DialInputMode) -> Self
fn from(value: DialInputMode) -> Self
Converts to this type from the input type.
Source§impl From<DialogRole> for Value
impl From<DialogRole> for Value
Source§fn from(value: DialogRole) -> Self
fn from(value: DialogRole) -> Self
Converts to this type from the input type.
Source§impl From<DragAction> for Value
impl From<DragAction> for Value
Source§fn from(value: DragAction) -> Self
fn from(value: DragAction) -> Self
Converts to this type from the input type.
Source§impl From<DrawerEdge> for Value
impl From<DrawerEdge> for Value
Source§fn from(value: DrawerEdge) -> Self
fn from(value: DrawerEdge) -> Self
Converts to this type from the input type.
Source§impl From<FileDialogMode> for Value
impl From<FileDialogMode> for Value
Source§fn from(value: FileDialogMode) -> Self
fn from(value: FileDialogMode) -> Self
Converts to this type from the input type.
Source§impl From<FlexboxLayoutDirection> for Value
impl From<FlexboxLayoutDirection> for Value
Source§fn from(value: FlexboxLayoutDirection) -> Self
fn from(value: FlexboxLayoutDirection) -> Self
Converts to this type from the input type.
Source§impl From<FlexboxLayoutWrap> for Value
impl From<FlexboxLayoutWrap> for Value
Source§fn from(value: FlexboxLayoutWrap) -> Self
fn from(value: FlexboxLayoutWrap) -> Self
Converts to this type from the input type.
Source§impl From<FlickBoundsBehavior> for Value
impl From<FlickBoundsBehavior> for Value
Source§fn from(value: FlickBoundsBehavior) -> Self
fn from(value: FlickBoundsBehavior) -> Self
Converts to this type from the input type.
Source§impl From<FlickBoundsMovement> for Value
impl From<FlickBoundsMovement> for Value
Source§fn from(value: FlickBoundsMovement) -> Self
fn from(value: FlickBoundsMovement) -> Self
Converts to this type from the input type.
Source§impl From<FlickDirection> for Value
impl From<FlickDirection> for Value
Source§fn from(value: FlickDirection) -> Self
fn from(value: FlickDirection) -> Self
Converts to this type from the input type.
Source§impl From<ImageHorizontalAlignment> for Value
impl From<ImageHorizontalAlignment> for Value
Source§fn from(value: ImageHorizontalAlignment) -> Self
fn from(value: ImageHorizontalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<ImageRendering> for Value
impl From<ImageRendering> for Value
Source§fn from(value: ImageRendering) -> Self
fn from(value: ImageRendering) -> Self
Converts to this type from the input type.
Source§impl From<ImageTileMode> for Value
impl From<ImageTileMode> for Value
Source§fn from(value: ImageTileMode) -> Self
fn from(value: ImageTileMode) -> Self
Converts to this type from the input type.
Source§impl From<ImageVerticalAlignment> for Value
impl From<ImageVerticalAlignment> for Value
Source§fn from(value: ImageVerticalAlignment) -> Self
fn from(value: ImageVerticalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<LayoutAlignment> for Value
impl From<LayoutAlignment> for Value
Source§fn from(value: LayoutAlignment) -> Self
fn from(value: LayoutAlignment) -> Self
Converts to this type from the input type.
Source§impl From<MessageButtons> for Value
impl From<MessageButtons> for Value
Source§fn from(value: MessageButtons) -> Self
fn from(value: MessageButtons) -> Self
Converts to this type from the input type.
Source§impl From<MessageLevel> for Value
impl From<MessageLevel> for Value
Source§fn from(value: MessageLevel) -> Self
fn from(value: MessageLevel) -> Self
Converts to this type from the input type.
Source§impl From<Orientation> for Value
impl From<Orientation> for Value
Source§fn from(value: Orientation) -> Self
fn from(value: Orientation) -> Self
Converts to this type from the input type.
Source§impl From<PopupPlacement> for Value
impl From<PopupPlacement> for Value
Source§fn from(value: PopupPlacement) -> Self
fn from(value: PopupPlacement) -> Self
Converts to this type from the input type.
Source§impl From<ScrollAlignment> for Value
impl From<ScrollAlignment> for Value
Source§fn from(value: ScrollAlignment) -> Self
fn from(value: ScrollAlignment) -> Self
Converts to this type from the input type.
Source§impl From<ScrollBarPolicy> for Value
impl From<ScrollBarPolicy> for Value
Source§fn from(value: ScrollBarPolicy) -> Self
fn from(value: ScrollBarPolicy) -> Self
Converts to this type from the input type.
Source§impl From<ScrollSnapMode> for Value
impl From<ScrollSnapMode> for Value
Source§fn from(value: ScrollSnapMode) -> Self
fn from(value: ScrollSnapMode) -> Self
Converts to this type from the input type.
Source§impl From<SelectionTarget> for Value
impl From<SelectionTarget> for Value
Source§fn from(value: SelectionTarget) -> Self
fn from(value: SelectionTarget) -> Self
Converts to this type from the input type.
Source§impl From<StandardButtonKind> for Value
impl From<StandardButtonKind> for Value
Source§fn from(value: StandardButtonKind) -> Self
fn from(value: StandardButtonKind) -> Self
Converts to this type from the input type.
Source§impl From<StyledText> for Value
impl From<StyledText> for Value
Source§fn from(value: StyledText) -> Self
fn from(value: StyledText) -> Self
Converts to this type from the input type.
Source§impl From<TextHorizontalAlignment> for Value
impl From<TextHorizontalAlignment> for Value
Source§fn from(value: TextHorizontalAlignment) -> Self
fn from(value: TextHorizontalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<TextOverflow> for Value
impl From<TextOverflow> for Value
Source§fn from(value: TextOverflow) -> Self
fn from(value: TextOverflow) -> Self
Converts to this type from the input type.
Source§impl From<TextVerticalAlignment> for Value
impl From<TextVerticalAlignment> for Value
Source§fn from(value: TextVerticalAlignment) -> Self
fn from(value: TextVerticalAlignment) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl !RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl !UnwindSafe for Value
impl Forget for Value
impl Freeze for Value
impl Unpin for Value
impl UnsafeUnpin for Value
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more