pub struct TimePicker { /* private fields */ }Implementations§
Source§impl TimePicker
impl TimePicker
pub fn new() -> Self
pub fn clock_identifier(self, value: impl Into<String>) -> Self
pub fn clock_identifier_optional<T>(self, value: Option<T>) -> Self
pub fn minute_increment(self, value: impl Into<Option<i32>>) -> Self
pub fn is_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn on_selected_time_changed( self, callback: impl IntoPayloadCallback<Option<TimeSpan>>, ) -> Self
Trait Implementations§
Source§impl Clone for TimePicker
impl Clone for TimePicker
Source§fn clone(&self) -> TimePicker
fn clone(&self) -> TimePicker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimePicker
impl Debug for TimePicker
Source§impl Default for TimePicker
impl Default for TimePicker
Source§fn default() -> TimePicker
fn default() -> TimePicker
Returns the “default value” for a type. Read more
Source§impl From<TimePicker> for View
impl From<TimePicker> for View
Source§fn from(value: TimePicker) -> Self
fn from(value: TimePicker) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for TimePicker
impl LayoutControl for TimePicker
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TimePicker
impl PartialEq for TimePicker
Source§impl SlotsControl for TimePicker
impl SlotsControl for TimePicker
impl StructuralPartialEq for TimePicker
Auto Trait Implementations§
impl !RefUnwindSafe for TimePicker
impl !Send for TimePicker
impl !Sync for TimePicker
impl !UnwindSafe for TimePicker
impl Freeze for TimePicker
impl Unpin for TimePicker
impl UnsafeUnpin for TimePicker
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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