Skip to main content

DatePickerThemeData

Struct DatePickerThemeData 

Source
pub struct DatePickerThemeData {
Show 41 fields pub background_color: Option<Color>, pub elevation: Option<f64>, pub shadow_color: Option<Color>, pub surface_tint_color: Option<Color>, pub shape: Option<ShapeBorderRef>, pub header_background_color: Option<Color>, pub header_foreground_color: Option<Color>, pub header_headline_style: Option<TextStyle>, pub header_help_style: Option<TextStyle>, pub weekday_style: Option<TextStyle>, pub day_style: Option<TextStyle>, pub day_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub day_background_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub day_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub day_shape: Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>, pub today_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub today_background_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub today_border: Option<BorderSide>, pub year_style: Option<TextStyle>, pub year_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub year_background_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub year_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub year_shape: Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>, pub range_picker_background_color: Option<Color>, pub range_picker_elevation: Option<f64>, pub range_picker_shadow_color: Option<Color>, pub range_picker_surface_tint_color: Option<Color>, pub range_picker_shape: Option<ShapeBorderRef>, pub range_picker_header_background_color: Option<Color>, pub range_picker_header_foreground_color: Option<Color>, pub range_picker_header_headline_style: Option<TextStyle>, pub range_picker_header_help_style: Option<TextStyle>, pub range_selection_background_color: Option<Color>, pub range_selection_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub divider_color: Option<Color>, pub input_decoration_theme: Option<InputDecorationThemeData>, pub cancel_button_style: Option<ButtonStyle>, pub confirm_button_style: Option<ButtonStyle>, pub locale: Option<Locale>, pub toggle_button_text_style: Option<TextStyle>, pub sub_header_foreground_color: Option<Color>,
}
Expand description

Defines the visual properties of the widget displayed with showDatePicker and the optional DatePickerTheme ancestor.

Descendant widgets obtain the current DatePickerThemeData object using DatePickerTheme::of. Instances of DatePickerThemeData can be customized with DatePickerThemeData::copy_with.

Typically a DatePickerThemeData is specified as part of the overall Theme with ThemeData::date_picker_theme.

All DatePickerThemeData properties are null by default. When null, the [DatePickerDialog] will use the values from ThemeData if they exist, otherwise it will provide its own defaults based on the overall Theme’s textTheme and colorScheme.

See also:

  • [DatePickerDialog], which is the dialog that uses this theme.
  • DatePickerTheme, which overrides the theme of the date picker in a subtree.
  • ThemeData::date_picker_theme, which overrides the date picker theme in the app.

Fields§

§background_color: Option<Color>

Dart’s DatePickerThemeData.backgroundColor.

§elevation: Option<f64>

Dart’s DatePickerThemeData.elevation.

§shadow_color: Option<Color>

Dart’s DatePickerThemeData.shadowColor.

§surface_tint_color: Option<Color>

Dart’s DatePickerThemeData.surfaceTintColor.

§shape: Option<ShapeBorderRef>

Dart’s DatePickerThemeData.shape.

§header_background_color: Option<Color>

Dart’s DatePickerThemeData.headerBackgroundColor.

§header_foreground_color: Option<Color>

Dart’s DatePickerThemeData.headerForegroundColor.

§header_headline_style: Option<TextStyle>

Dart’s DatePickerThemeData.headerHeadlineStyle.

§header_help_style: Option<TextStyle>

Dart’s DatePickerThemeData.headerHelpStyle.

§weekday_style: Option<TextStyle>

Dart’s DatePickerThemeData.weekdayStyle.

§day_style: Option<TextStyle>

Dart’s DatePickerThemeData.dayStyle.

§day_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.dayForegroundColor.

§day_background_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.dayBackgroundColor.

§day_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.dayOverlayColor.

§day_shape: Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>

Dart’s DatePickerThemeData.dayShape.

§today_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.todayForegroundColor.

§today_background_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.todayBackgroundColor.

§today_border: Option<BorderSide>

Dart’s DatePickerThemeData.todayBorder.

§year_style: Option<TextStyle>

Dart’s DatePickerThemeData.yearStyle.

§year_foreground_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.yearForegroundColor.

§year_background_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.yearBackgroundColor.

§year_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.yearOverlayColor.

§year_shape: Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>

Dart’s DatePickerThemeData.yearShape.

§range_picker_background_color: Option<Color>

Dart’s DatePickerThemeData.rangePickerBackgroundColor.

§range_picker_elevation: Option<f64>

Dart’s DatePickerThemeData.rangePickerElevation.

§range_picker_shadow_color: Option<Color>

Dart’s DatePickerThemeData.rangePickerShadowColor.

§range_picker_surface_tint_color: Option<Color>

Dart’s DatePickerThemeData.rangePickerSurfaceTintColor.

§range_picker_shape: Option<ShapeBorderRef>

Dart’s DatePickerThemeData.rangePickerShape.

§range_picker_header_background_color: Option<Color>

Dart’s DatePickerThemeData.rangePickerHeaderBackgroundColor.

§range_picker_header_foreground_color: Option<Color>

Dart’s DatePickerThemeData.rangePickerHeaderForegroundColor.

§range_picker_header_headline_style: Option<TextStyle>

Dart’s DatePickerThemeData.rangePickerHeaderHeadlineStyle.

§range_picker_header_help_style: Option<TextStyle>

Dart’s DatePickerThemeData.rangePickerHeaderHelpStyle.

§range_selection_background_color: Option<Color>

Dart’s DatePickerThemeData.rangeSelectionBackgroundColor.

§range_selection_overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s DatePickerThemeData.rangeSelectionOverlayColor.

§divider_color: Option<Color>

Dart’s DatePickerThemeData.dividerColor.

§input_decoration_theme: Option<InputDecorationThemeData>

Dart’s DatePickerThemeData.inputDecorationTheme.

§cancel_button_style: Option<ButtonStyle>

Dart’s DatePickerThemeData.cancelButtonStyle.

§confirm_button_style: Option<ButtonStyle>

Dart’s DatePickerThemeData.confirmButtonStyle.

§locale: Option<Locale>

Dart’s DatePickerThemeData.locale.

§toggle_button_text_style: Option<TextStyle>

Dart’s DatePickerThemeData.toggleButtonTextStyle.

§sub_header_foreground_color: Option<Color>

Dart’s DatePickerThemeData.subHeaderForegroundColor.

Implementations§

Source§

impl DatePickerThemeData

Source

pub fn new() -> DatePickerThemeData

Creates a DatePickerThemeData that can be used to override default properties in a DatePickerTheme widget. Dart’s optional named arguments are the fluent setters.

Source

pub fn background_color(self, background_color: Color) -> DatePickerThemeData

Dart DatePickerThemeData(backgroundColor:).

Source

pub fn elevation(self, elevation: f64) -> DatePickerThemeData

Dart DatePickerThemeData(elevation:).

Source

pub fn shadow_color(self, shadow_color: Color) -> DatePickerThemeData

Dart DatePickerThemeData(shadowColor:).

Source

pub fn surface_tint_color( self, surface_tint_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(surfaceTintColor:).

Source

pub fn shape(self, shape: impl Into<ShapeBorderRef>) -> DatePickerThemeData

Dart DatePickerThemeData(shape:).

Source

pub fn header_background_color( self, header_background_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(headerBackgroundColor:).

Source

pub fn header_foreground_color( self, header_foreground_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(headerForegroundColor:).

Source

pub fn header_headline_style( self, header_headline_style: TextStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(headerHeadlineStyle:).

Source

pub fn header_help_style( self, header_help_style: TextStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(headerHelpStyle:).

Source

pub fn weekday_style(self, weekday_style: TextStyle) -> DatePickerThemeData

Dart DatePickerThemeData(weekdayStyle:).

Source

pub fn day_style(self, day_style: TextStyle) -> DatePickerThemeData

Dart DatePickerThemeData(dayStyle:).

Source

pub fn day_foreground_color( self, day_foreground_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(dayForegroundColor:).

Source

pub fn day_background_color( self, day_background_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(dayBackgroundColor:).

Source

pub fn day_overlay_color( self, day_overlay_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(dayOverlayColor:).

Source

pub fn day_shape( self, day_shape: WidgetStatePropertyRef<Option<OutlinedBorderRef>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(dayShape:).

Source

pub fn today_foreground_color( self, today_foreground_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(todayForegroundColor:).

Source

pub fn today_background_color( self, today_background_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(todayBackgroundColor:).

Source

pub fn today_border(self, today_border: BorderSide) -> DatePickerThemeData

Dart DatePickerThemeData(todayBorder:).

Source

pub fn year_style(self, year_style: TextStyle) -> DatePickerThemeData

Dart DatePickerThemeData(yearStyle:).

Source

pub fn year_foreground_color( self, year_foreground_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(yearForegroundColor:).

Source

pub fn year_background_color( self, year_background_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(yearBackgroundColor:).

Source

pub fn year_overlay_color( self, year_overlay_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(yearOverlayColor:).

Source

pub fn year_shape( self, year_shape: WidgetStatePropertyRef<Option<OutlinedBorderRef>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(yearShape:).

Source

pub fn range_picker_background_color( self, range_picker_background_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerBackgroundColor:).

Source

pub fn range_picker_elevation( self, range_picker_elevation: f64, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerElevation:).

Source

pub fn range_picker_shadow_color( self, range_picker_shadow_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerShadowColor:).

Source

pub fn range_picker_surface_tint_color( self, range_picker_surface_tint_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerSurfaceTintColor:).

Source

pub fn range_picker_shape( self, range_picker_shape: impl Into<ShapeBorderRef>, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerShape:).

Source

pub fn range_picker_header_background_color( self, range_picker_header_background_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerHeaderBackgroundColor:).

Source

pub fn range_picker_header_foreground_color( self, range_picker_header_foreground_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerHeaderForegroundColor:).

Source

pub fn range_picker_header_headline_style( self, range_picker_header_headline_style: TextStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerHeaderHeadlineStyle:).

Source

pub fn range_picker_header_help_style( self, range_picker_header_help_style: TextStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangePickerHeaderHelpStyle:).

Source

pub fn range_selection_background_color( self, range_selection_background_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangeSelectionBackgroundColor:).

Source

pub fn range_selection_overlay_color( self, range_selection_overlay_color: WidgetStatePropertyRef<Option<Color>>, ) -> DatePickerThemeData

Dart DatePickerThemeData(rangeSelectionOverlayColor:).

Source

pub fn divider_color(self, divider_color: Color) -> DatePickerThemeData

Dart DatePickerThemeData(dividerColor:).

Source

pub fn input_decoration_theme( self, input_decoration_theme: impl Into<InputDecorationThemeData>, ) -> DatePickerThemeData

Dart DatePickerThemeData(inputDecorationTheme:).

Source

pub fn cancel_button_style( self, cancel_button_style: ButtonStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(cancelButtonStyle:).

Source

pub fn confirm_button_style( self, confirm_button_style: ButtonStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(confirmButtonStyle:).

Source

pub fn locale(self, locale: Locale) -> DatePickerThemeData

Dart DatePickerThemeData(locale:).

Source

pub fn toggle_button_text_style( self, toggle_button_text_style: TextStyle, ) -> DatePickerThemeData

Dart DatePickerThemeData(toggleButtonTextStyle:).

Source

pub fn sub_header_foreground_color( self, sub_header_foreground_color: Color, ) -> DatePickerThemeData

Dart DatePickerThemeData(subHeaderForegroundColor:).

Source

pub fn copy_with(&self) -> DatePickerThemeData

Creates a copy of this object but with the given fields replaced with the new values.

Dart’s named arguments are the fluent setters on the copy (data.copy_with().elevation(4.0)).

Source

pub fn lerp( a: Option<&DatePickerThemeData>, b: Option<&DatePickerThemeData>, t: f64, ) -> DatePickerThemeData

Linearly interpolates between two date picker themes.

Trait Implementations§

Source§

impl Clone for DatePickerThemeData

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl DatePickerThemeDataGetters for DatePickerThemeData

Source§

fn date_picker_theme_data(&self) -> &DatePickerThemeData

The fields Dart’s constructor sets: the struct itself, or the super(...) arguments a defaults struct keeps.
Source§

fn background_color(&self, app: &mut App) -> Option<Color>

Dart’s background_color getter.
Source§

fn elevation(&self, app: &mut App) -> Option<f64>

Dart’s elevation getter.
Source§

fn shadow_color(&self, app: &mut App) -> Option<Color>

Dart’s shadow_color getter.
Source§

fn surface_tint_color(&self, app: &mut App) -> Option<Color>

Dart’s surface_tint_color getter.
Source§

fn shape(&self, app: &mut App) -> Option<ShapeBorderRef>

Dart’s shape getter.
Source§

fn header_background_color(&self, app: &mut App) -> Option<Color>

Dart’s header_background_color getter.
Source§

fn header_foreground_color(&self, app: &mut App) -> Option<Color>

Dart’s header_foreground_color getter.
Source§

fn header_headline_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s header_headline_style getter.
Source§

fn header_help_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s header_help_style getter.
Source§

fn weekday_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s weekday_style getter.
Source§

fn day_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s day_style getter.
Source§

fn day_foreground_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s day_foreground_color getter.
Source§

fn day_background_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s day_background_color getter.
Source§

fn day_overlay_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s day_overlay_color getter.
Source§

fn day_shape( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>

Dart’s day_shape getter.
Source§

fn today_foreground_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s today_foreground_color getter.
Source§

fn today_background_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s today_background_color getter.
Source§

fn today_border(&self, app: &mut App) -> Option<BorderSide>

Dart’s today_border getter.
Source§

fn year_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s year_style getter.
Source§

fn year_foreground_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s year_foreground_color getter.
Source§

fn year_background_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s year_background_color getter.
Source§

fn year_overlay_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s year_overlay_color getter.
Source§

fn year_shape( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<OutlinedBorderRef>>>

Dart’s year_shape getter.
Source§

fn range_picker_background_color(&self, app: &mut App) -> Option<Color>

Dart’s range_picker_background_color getter.
Source§

fn range_picker_elevation(&self, app: &mut App) -> Option<f64>

Dart’s range_picker_elevation getter.
Source§

fn range_picker_shadow_color(&self, app: &mut App) -> Option<Color>

Dart’s range_picker_shadow_color getter.
Source§

fn range_picker_surface_tint_color(&self, app: &mut App) -> Option<Color>

Dart’s range_picker_surface_tint_color getter.
Source§

fn range_picker_shape(&self, app: &mut App) -> Option<ShapeBorderRef>

Dart’s range_picker_shape getter.
Source§

fn range_picker_header_background_color(&self, app: &mut App) -> Option<Color>

Dart’s range_picker_header_background_color getter.
Source§

fn range_picker_header_foreground_color(&self, app: &mut App) -> Option<Color>

Dart’s range_picker_header_foreground_color getter.
Source§

fn range_picker_header_headline_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s range_picker_header_headline_style getter.
Source§

fn range_picker_header_help_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s range_picker_header_help_style getter.
Source§

fn range_selection_background_color(&self, app: &mut App) -> Option<Color>

Dart’s range_selection_background_color getter.
Source§

fn range_selection_overlay_color( &self, app: &mut App, ) -> Option<WidgetStatePropertyRef<Option<Color>>>

Dart’s range_selection_overlay_color getter.
Source§

fn divider_color(&self, app: &mut App) -> Option<Color>

Dart’s divider_color getter.
Source§

fn input_decoration_theme( &self, app: &mut App, ) -> Option<InputDecorationThemeData>

Dart’s input_decoration_theme getter.
Source§

fn cancel_button_style(&self, app: &mut App) -> Option<ButtonStyle>

Dart’s cancel_button_style getter.
Source§

fn confirm_button_style(&self, app: &mut App) -> Option<ButtonStyle>

Dart’s confirm_button_style getter.
Source§

fn locale(&self, app: &mut App) -> Option<Locale>

Dart’s locale getter.
Source§

fn toggle_button_text_style(&self, app: &mut App) -> Option<TextStyle>

Dart’s toggle_button_text_style getter.
Source§

fn sub_header_foreground_color(&self, app: &mut App) -> Option<Color>

Dart’s sub_header_foreground_color getter.
Source§

fn copy_with(&self, app: &mut App) -> DatePickerThemeData

Dart’s copyWith() with no arguments: a plain value holding what every getter answers, for the caller’s setters to change.
Source§

impl Debug for DatePickerThemeData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DatePickerThemeData

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Diagnosticable for DatePickerThemeData

Source§

fn debug_fill_properties(&self, properties: &mut DiagnosticPropertiesBuilder)

Add additional properties associated with the node.
Source§

fn type_name(&self) -> &'static str

Dart’s Object.runtimeType as diagnostics print it: the last segment of the Rust type path, without generic arguments.
Source§

fn identity_hash(&self) -> u64

Dart’s Object.hashCode as diagnostics print it: the object’s address.
Source§

fn to_string_short(&self) -> String

A brief description of this object, usually just the type and the hash.
Source§

fn to_diagnostics_node(&self) -> DiagnosticableNode

Returns a debug representation of the object used by debugging tools and by DiagnosticsNode::to_string_deep.
Source§

fn to_diagnostics_node_with( &self, name: Option<String>, style: Option<DiagnosticsTreeStyle>, ) -> DiagnosticableNode

Dart toDiagnosticsNode(name:, style:).
Source§

fn to_string(&self) -> String

Dart’s toString: a single-line description with properties and no children. Read more
Source§

fn to_string_at(&self, min_level: DiagnosticLevel) -> String

Dart’s toString(minLevel:).
Source§

impl Display for DatePickerThemeData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for DatePickerThemeData

Source§

fn eq(&self, other: &DatePickerThemeData) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for DatePickerThemeData

§

impl !Send for DatePickerThemeData

§

impl !Sync for DatePickerThemeData

§

impl !UnwindSafe for DatePickerThemeData

§

impl Forget for DatePickerThemeData

§

impl Freeze for DatePickerThemeData
where *const RcInner<dyn ShapeBorder> is !null: Freeze, PhantomData<RcInner<dyn ShapeBorder>>: Freeze, &'static dyn ColorExtension: Freeze, *const RcInner<dyn ColorExtension> is !null: Freeze, PhantomData<RcInner<dyn ColorExtension>>: Freeze, *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<String>: Freeze, *const RcInner<Paint> is !null: Freeze, PhantomData<RcInner<Paint>>: Freeze, PhantomData<Shadow>: Freeze, PhantomData<FontFeature>: Freeze, PhantomData<FontVariation>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: Freeze, *const RcInner<dyn TextStyleExtension> is !null: Freeze, PhantomData<RcInner<dyn TextStyleExtension>>: Freeze, *const RcInner<dyn BorderSideExtension> is !null: Freeze, PhantomData<RcInner<dyn BorderSideExtension>>: Freeze, *const RcInner<dyn InputBorder> is !null: Freeze, PhantomData<RcInner<dyn InputBorder>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<f64>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<f64>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<Size>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<Size>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<BorderSide>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<BorderSide>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>>>: Freeze, *const RcInner<dyn InteractiveInkFeatureFactory> is !null: Freeze, PhantomData<RcInner<dyn InteractiveInkFeatureFactory>>: Freeze, *const RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>> is !null: Freeze, PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>>>: Freeze, *const (): Freeze,

§

impl Move for DatePickerThemeData

§

impl Unpin for DatePickerThemeData

§

impl UnsafeUnpin for DatePickerThemeData
where *const RcInner<dyn ShapeBorder> is !null: UnsafeUnpin, PhantomData<RcInner<dyn ShapeBorder>>: UnsafeUnpin, &'static dyn ColorExtension: UnsafeUnpin, *const RcInner<dyn ColorExtension> is !null: UnsafeUnpin, PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, *const RcInner<Paint> is !null: UnsafeUnpin, PhantomData<RcInner<Paint>>: UnsafeUnpin, PhantomData<Shadow>: UnsafeUnpin, PhantomData<FontFeature>: UnsafeUnpin, PhantomData<FontVariation>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: UnsafeUnpin, *const RcInner<dyn TextStyleExtension> is !null: UnsafeUnpin, PhantomData<RcInner<dyn TextStyleExtension>>: UnsafeUnpin, *const RcInner<dyn BorderSideExtension> is !null: UnsafeUnpin, PhantomData<RcInner<dyn BorderSideExtension>>: UnsafeUnpin, *const RcInner<dyn InputBorder> is !null: UnsafeUnpin, PhantomData<RcInner<dyn InputBorder>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<f64>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<f64>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<Size>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<Size>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<BorderSide>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<BorderSide>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>>>: UnsafeUnpin, *const RcInner<dyn InteractiveInkFeatureFactory> is !null: UnsafeUnpin, PhantomData<RcInner<dyn InteractiveInkFeatureFactory>>: UnsafeUnpin, *const RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>>>: UnsafeUnpin, *const (): UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>