Skip to main content

TimePickerThemeData

Struct TimePickerThemeData 

Source
pub struct TimePickerThemeData {
Show 24 fields pub background_color: Option<AnyColor>, pub cancel_button_style: Option<ButtonStyle>, pub confirm_button_style: Option<ButtonStyle>, pub day_period_border_side: Option<BorderSide>, pub day_period_color: Option<AnyColor>, pub day_period_shape: Option<OutlinedBorderRef>, pub day_period_text_color: Option<AnyColor>, pub day_period_text_style: Option<AnyTextStyle>, pub dial_background_color: Option<AnyColor>, pub dial_hand_color: Option<AnyColor>, pub dial_text_color: Option<AnyColor>, pub dial_text_style: Option<AnyTextStyle>, pub elevation: Option<f64>, pub entry_mode_icon_color: Option<AnyColor>, pub help_text_style: Option<AnyTextStyle>, pub hour_minute_color: Option<AnyColor>, pub hour_minute_shape: Option<ShapeBorderRef>, pub hour_minute_text_color: Option<AnyColor>, pub hour_minute_text_style: Option<AnyTextStyle>, pub input_decoration_theme: Option<InputDecorationThemeData>, pub padding: Option<EdgeInsetsGeometry>, pub shape: Option<ShapeBorderRef>, pub time_selector_separator_color: Option<WidgetStatePropertyRef<Option<Color>>>, pub time_selector_separator_text_style: Option<WidgetStatePropertyRef<Option<TextStyle>>>,
}
Expand description

Defines the visual properties of the widget displayed with showTimePicker.

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

Typically a TimePickerThemeData is specified as part of the overall Theme with ThemeData::time_picker_theme.

All TimePickerThemeData properties are None by default. When null, the time picker provides its own defaults based on the overall Theme’s ThemeData::color_scheme, ThemeData::text_theme, and ThemeData::icon_theme.

See also:

  • TimePickerTheme, which describes the actual configuration of a time picker theme.
  • ThemeData, which describes the overall theme information for the application.

Fields§

§background_color: Option<AnyColor>

The background color of a time picker.

If this is null, the time picker defaults to the overall theme’s ColorScheme::surface_container_high.

§cancel_button_style: Option<ButtonStyle>

Style of the cancel button of a time picker.

If this is null, the time picker defaults to a TextButton styled with the theme’s primary color.

§confirm_button_style: Option<ButtonStyle>

Style of the confirm (OK) button of a time picker.

If this is null, the time picker defaults to a TextButton styled with the theme’s primary color.

§day_period_border_side: Option<BorderSide>

The color and weight of the day period’s outline.

If this is null, the time picker defaults to BorderSide(color: Color(0xFF79747E)).

§day_period_color: Option<AnyColor>

Dart’s private _dayPeriodColor: the color as it was given, before day_period_color_getter wraps a plain color.

Keep the raw value here: the getter’s wrapped color never equals another wrapped color.

§day_period_shape: Option<OutlinedBorderRef>

The shape of the day period that the time picker uses.

If this is null, the time picker defaults to a RoundedRectangleBorder with a circular corner radius of 4.0.

§day_period_text_color: Option<AnyColor>

The color of the day period text that represents AM/PM.

If this is null, the time picker defaults to ColorScheme::on_surface_variant when the day period is not selected, and ColorScheme::on_tertiary_container when it is.

§day_period_text_style: Option<AnyTextStyle>

Used to configure the TextStyles for the day period control.

If this is null, the time picker defaults to the overall theme’s TextTheme::title_medium.

§dial_background_color: Option<AnyColor>

The background color of the time picker dial when the entry mode is TimePickerEntryMode::dial or TimePickerEntryMode::dialOnly.

If this is null and ThemeData::use_material3 is true, the time picker dial background color defaults to ColorScheme::surface_container_highest.

§dial_hand_color: Option<AnyColor>

The color of the time picker dial’s hand when the entry mode is TimePickerEntryMode::dial or TimePickerEntryMode::dialOnly.

If this is null and ThemeData::use_material3 is true, the time picker dial hand color defaults to ColorScheme::primary.

§dial_text_color: Option<AnyColor>

The color of the dial text that represents specific hours and minutes.

If this is null, the time picker defaults to ColorScheme::on_surface.

§dial_text_style: Option<AnyTextStyle>

The TextStyle of the dial text that represents specific hours and minutes.

If this is null, the time picker defaults to the overall theme’s TextTheme::body_large.

§elevation: Option<f64>

The Material elevation for the time picker dialog.

§entry_mode_icon_color: Option<AnyColor>

The color of the entry mode IconButton.

If this is null, the time picker defaults to ColorScheme::on_surface_variant.

§help_text_style: Option<AnyTextStyle>

Used to configure the TextStyle for the helper text in the header.

If this is null, the time picker defaults to the overall theme’s TextTheme::label_medium.

§hour_minute_color: Option<AnyColor>

The background color of the hour and minute controls.

If this is null, the time picker defaults to ColorScheme::secondary_container.

§hour_minute_shape: Option<ShapeBorderRef>

The shape of the hour and minute controls that the time picker uses.

If this is null, the time picker defaults to RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8.0))).

§hour_minute_text_color: Option<AnyColor>

The color of the header text that represents hours and minutes.

If this is null, the time picker defaults to ColorScheme::on_secondary_container.

§hour_minute_text_style: Option<AnyTextStyle>

Used to configure the text style for the hour and minute controls.

If this is null, the time picker defaults to the overall theme’s TextTheme::display_medium.

§input_decoration_theme: Option<InputDecorationThemeData>

The input decoration theme for the TextFields in the time picker.

If this is null, the time picker provides its own defaults based on the overall theme’s ColorScheme.

§padding: Option<EdgeInsetsGeometry>

The padding around the time picker dialog when the entry mode is TimePickerEntryMode::dial or TimePickerEntryMode::dialOnly.

§shape: Option<ShapeBorderRef>

The shape of the dialog that the time picker is presented in.

If this is null, the time picker defaults to RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(28.0))).

§time_selector_separator_color: Option<WidgetStatePropertyRef<Option<Color>>>

The color of the time selector separator between the hour and minute controls.

If this is null, the time picker defaults to ColorScheme::on_surface.

§time_selector_separator_text_style: Option<WidgetStatePropertyRef<Option<TextStyle>>>

The text style of the time selector separator between the hour and minute controls.

If this is null, the time picker defaults to the overall theme’s TextTheme::display_large, with the color of time_selector_separator_color.

Implementations§

Source§

impl TimePickerThemeData

Source

pub fn new() -> TimePickerThemeData

Creates a theme that can be used for ThemeData::time_picker_theme.

Dart’s named arguments are the fluent setters.

Source

pub fn day_period_color_getter(&self) -> Option<AnyColor>

Dart’s dayPeriodColor getter.

The color of the day period’s background: a WidgetStateColor that is the given color when the day period is selected and transparent otherwise, unless the given color is already a state color, which is returned as it is.

Source

pub fn background_color(self, background_color: impl Into<AnyColor>) -> Self

Dart TimePickerThemeData(backgroundColor:).

Source

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

Dart TimePickerThemeData(cancelButtonStyle:).

Source

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

Dart TimePickerThemeData(confirmButtonStyle:).

Source

pub fn day_period_border_side(self, day_period_border_side: BorderSide) -> Self

Dart TimePickerThemeData(dayPeriodBorderSide:).

Source

pub fn day_period_color(self, day_period_color: impl Into<AnyColor>) -> Self

Dart TimePickerThemeData(dayPeriodColor:).

Source

pub fn day_period_shape( self, day_period_shape: impl Into<OutlinedBorderRef>, ) -> Self

Dart TimePickerThemeData(dayPeriodShape:).

Source

pub fn day_period_text_color( self, day_period_text_color: impl Into<AnyColor>, ) -> Self

Dart TimePickerThemeData(dayPeriodTextColor:).

Source

pub fn day_period_text_style( self, day_period_text_style: impl Into<AnyTextStyle>, ) -> Self

Dart TimePickerThemeData(dayPeriodTextStyle:).

Source

pub fn dial_background_color( self, dial_background_color: impl Into<AnyColor>, ) -> Self

Dart TimePickerThemeData(dialBackgroundColor:).

Source

pub fn dial_hand_color(self, dial_hand_color: impl Into<AnyColor>) -> Self

Dart TimePickerThemeData(dialHandColor:).

Source

pub fn dial_text_color(self, dial_text_color: impl Into<AnyColor>) -> Self

Dart TimePickerThemeData(dialTextColor:).

Source

pub fn dial_text_style(self, dial_text_style: impl Into<AnyTextStyle>) -> Self

Dart TimePickerThemeData(dialTextStyle:).

Source

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

Dart TimePickerThemeData(elevation:).

Source

pub fn entry_mode_icon_color( self, entry_mode_icon_color: impl Into<AnyColor>, ) -> Self

Dart TimePickerThemeData(entryModeIconColor:).

Source

pub fn help_text_style(self, help_text_style: impl Into<AnyTextStyle>) -> Self

Dart TimePickerThemeData(helpTextStyle:).

Source

pub fn hour_minute_color(self, hour_minute_color: impl Into<AnyColor>) -> Self

Dart TimePickerThemeData(hourMinuteColor:).

Source

pub fn hour_minute_shape( self, hour_minute_shape: impl Into<ShapeBorderRef>, ) -> Self

Dart TimePickerThemeData(hourMinuteShape:).

Source

pub fn hour_minute_text_color( self, hour_minute_text_color: impl Into<AnyColor>, ) -> Self

Dart TimePickerThemeData(hourMinuteTextColor:).

Source

pub fn hour_minute_text_style( self, hour_minute_text_style: impl Into<AnyTextStyle>, ) -> Self

Dart TimePickerThemeData(hourMinuteTextStyle:).

Source

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

Dart TimePickerThemeData(inputDecorationTheme:).

Source

pub fn padding(self, padding: impl Into<EdgeInsetsGeometry>) -> Self

Dart TimePickerThemeData(padding:).

Source

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

Dart TimePickerThemeData(shape:).

Source

pub fn time_selector_separator_color( self, time_selector_separator_color: WidgetStatePropertyRef<Option<Color>>, ) -> Self

Dart TimePickerThemeData(timeSelectorSeparatorColor:).

Source

pub fn time_selector_separator_text_style( self, time_selector_separator_text_style: WidgetStatePropertyRef<Option<TextStyle>>, ) -> Self

Dart TimePickerThemeData(timeSelectorSeparatorTextStyle:).

Source

pub fn copy_with(&self) -> TimePickerThemeData

Creates a copy of this object 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<&TimePickerThemeData>, b: Option<&TimePickerThemeData>, t: f64, ) -> TimePickerThemeData

Linearly interpolate between two time picker themes.

Trait Implementations§

Source§

impl Clone for TimePickerThemeData

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 Debug for TimePickerThemeData

Source§

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

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

impl Default for TimePickerThemeData

Source§

fn default() -> Self

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

impl Diagnosticable for TimePickerThemeData

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 TimePickerThemeData

Source§

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

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

impl PartialEq for TimePickerThemeData

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl TimePickerThemeDataGetters for TimePickerThemeData

Source§

fn time_picker_theme_data(&self) -> &TimePickerThemeData

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<AnyColor>

Dart’s background_color 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 day_period_border_side(&self, app: &mut App) -> Option<BorderSide>

Dart’s day_period_border_side getter.
Source§

fn day_period_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s day_period_color getter.
Source§

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

Dart’s day_period_shape getter.
Source§

fn day_period_text_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s day_period_text_color getter.
Source§

fn day_period_text_style(&self, app: &mut App) -> Option<AnyTextStyle>

Dart’s day_period_text_style getter.
Source§

fn dial_background_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s dial_background_color getter.
Source§

fn dial_hand_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s dial_hand_color getter.
Source§

fn dial_text_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s dial_text_color getter.
Source§

fn dial_text_style(&self, app: &mut App) -> Option<AnyTextStyle>

Dart’s dial_text_style getter.
Source§

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

Dart’s elevation getter.
Source§

fn entry_mode_icon_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s entry_mode_icon_color getter.
Source§

fn help_text_style(&self, app: &mut App) -> Option<AnyTextStyle>

Dart’s help_text_style getter.
Source§

fn hour_minute_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s hour_minute_color getter.
Source§

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

Dart’s hour_minute_shape getter.
Source§

fn hour_minute_text_color(&self, app: &mut App) -> Option<AnyColor>

Dart’s hour_minute_text_color getter.
Source§

fn hour_minute_text_style(&self, app: &mut App) -> Option<AnyTextStyle>

Dart’s hour_minute_text_style getter.
Source§

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

Dart’s input_decoration_theme getter.
Source§

fn padding(&self, app: &mut App) -> Option<EdgeInsetsGeometry>

Dart’s padding getter.
Source§

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

Dart’s shape getter.
Source§

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

Dart’s time_selector_separator_color getter.
Source§

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

Dart’s time_selector_separator_text_style getter.
Source§

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

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

Auto Trait Implementations§

§

impl !RefUnwindSafe for TimePickerThemeData

§

impl !Send for TimePickerThemeData

§

impl !Sync for TimePickerThemeData

§

impl !UnwindSafe for TimePickerThemeData

§

impl Forget for TimePickerThemeData

§

impl Freeze for TimePickerThemeData
where &'static dyn ColorExtension: Freeze, *const RcInner<dyn ColorExtension> is !null: Freeze, PhantomData<RcInner<dyn ColorExtension>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: Freeze, *const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: 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<OutlinedBorderRef>>> is !null: Freeze, PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: 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, *const RcInner<dyn OutlinedBorder> is !null: Freeze, PhantomData<RcInner<dyn OutlinedBorder>>: 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 TextStyleExtension> is !null: Freeze, PhantomData<RcInner<dyn TextStyleExtension>>: Freeze, *const RcInner<dyn ShapeBorder> is !null: Freeze, PhantomData<RcInner<dyn ShapeBorder>>: 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,

§

impl Move for TimePickerThemeData

§

impl Unpin for TimePickerThemeData

§

impl UnsafeUnpin for TimePickerThemeData
where &'static dyn ColorExtension: UnsafeUnpin, *const RcInner<dyn ColorExtension> is !null: UnsafeUnpin, PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: UnsafeUnpin, *const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: 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<OutlinedBorderRef>>> is !null: UnsafeUnpin, PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: 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, *const RcInner<dyn OutlinedBorder> is !null: UnsafeUnpin, PhantomData<RcInner<dyn OutlinedBorder>>: 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 TextStyleExtension> is !null: UnsafeUnpin, PhantomData<RcInner<dyn TextStyleExtension>>: UnsafeUnpin, *const RcInner<dyn ShapeBorder> is !null: UnsafeUnpin, PhantomData<RcInner<dyn ShapeBorder>>: 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,

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>