pub struct TimePickerBuilder { /* private fields */ }Expand description
Configuration handle returned by time_picker.
Implementations§
Source§impl TimePickerBuilder
impl TimePickerBuilder
Sourcepub fn modifier(&self, value: Modifier) -> Self
pub fn modifier(&self, value: Modifier) -> Self
Configure modifier before this component executes.
Sourcepub fn modifier_optional(&self, value: Option<Modifier>) -> Self
pub fn modifier_optional(&self, value: Option<Modifier>) -> Self
Configure modifier before this component executes.
Sourcepub fn initial_hour(&self, value: u8) -> Self
pub fn initial_hour(&self, value: u8) -> Self
Configure initial_hour before this component executes.
Sourcepub fn initial_hour_optional(&self, value: Option<u8>) -> Self
pub fn initial_hour_optional(&self, value: Option<u8>) -> Self
Configure initial_hour before this component executes.
Sourcepub fn initial_minute(&self, value: u8) -> Self
pub fn initial_minute(&self, value: u8) -> Self
Configure initial_minute before this component executes.
Sourcepub fn initial_minute_optional(&self, value: Option<u8>) -> Self
pub fn initial_minute_optional(&self, value: Option<u8>) -> Self
Configure initial_minute before this component executes.
Sourcepub fn is_24_hour(&self, value: bool) -> Self
pub fn is_24_hour(&self, value: bool) -> Self
Configure is_24_hour before this component executes.
Sourcepub fn is_24_hour_optional(&self, value: Option<bool>) -> Self
pub fn is_24_hour_optional(&self, value: Option<bool>) -> Self
Configure is_24_hour before this component executes.
Sourcepub fn display_mode(&self, value: TimePickerDisplayMode) -> Self
pub fn display_mode(&self, value: TimePickerDisplayMode) -> Self
Configure display_mode before this component executes.
Sourcepub fn display_mode_optional(
&self,
value: Option<TimePickerDisplayMode>,
) -> Self
pub fn display_mode_optional( &self, value: Option<TimePickerDisplayMode>, ) -> Self
Configure display_mode before this component executes.
Sourcepub fn hour_step_optional(&self, value: Option<u8>) -> Self
pub fn hour_step_optional(&self, value: Option<u8>) -> Self
Configure hour_step before this component executes.
Sourcepub fn minute_step(&self, value: u8) -> Self
pub fn minute_step(&self, value: u8) -> Self
Configure minute_step before this component executes.
Sourcepub fn minute_step_optional(&self, value: Option<u8>) -> Self
pub fn minute_step_optional(&self, value: Option<u8>) -> Self
Configure minute_step before this component executes.
Sourcepub fn state(&self, value: State<TimePickerState>) -> Self
pub fn state(&self, value: State<TimePickerState>) -> Self
Configure state before this component executes.
Sourcepub fn state_optional(&self, value: Option<State<TimePickerState>>) -> Self
pub fn state_optional(&self, value: Option<State<TimePickerState>>) -> Self
Configure state before this component executes.
Sourcepub fn layout(&self, value: TimePickerLayout) -> Self
pub fn layout(&self, value: TimePickerLayout) -> Self
Configure layout before this component executes.
Sourcepub fn layout_optional(&self, value: Option<TimePickerLayout>) -> Self
pub fn layout_optional(&self, value: Option<TimePickerLayout>) -> Self
Configure layout before this component executes.
Auto Trait Implementations§
impl Freeze for TimePickerBuilder
impl RefUnwindSafe for TimePickerBuilder
impl Send for TimePickerBuilder
impl Sync for TimePickerBuilder
impl Unpin for TimePickerBuilder
impl UnsafeUnpin for TimePickerBuilder
impl UnwindSafe for TimePickerBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.