pub struct DatePicker { /* private fields */ }Implementations§
Source§impl DatePicker
impl DatePicker
pub fn new() -> Self
pub fn day_visible(self, value: impl Into<Option<bool>>) -> Self
pub fn month_visible(self, value: impl Into<Option<bool>>) -> Self
pub fn year_visible(self, value: impl Into<Option<bool>>) -> Self
pub fn is_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn on_selected_date_changed( self, callback: impl IntoPayloadCallback<Option<DateTime>>, ) -> Self
Trait Implementations§
Source§impl Clone for DatePicker
impl Clone for DatePicker
Source§fn clone(&self) -> DatePicker
fn clone(&self) -> DatePicker
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 DatePicker
impl Debug for DatePicker
Source§impl Default for DatePicker
impl Default for DatePicker
Source§fn default() -> DatePicker
fn default() -> DatePicker
Returns the “default value” for a type. Read more
Source§impl From<DatePicker> for View
impl From<DatePicker> for View
Source§fn from(value: DatePicker) -> Self
fn from(value: DatePicker) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for DatePicker
impl LayoutControl for DatePicker
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 DatePicker
impl PartialEq for DatePicker
Source§impl SlotsControl for DatePicker
impl SlotsControl for DatePicker
impl StructuralPartialEq for DatePicker
Auto Trait Implementations§
impl !RefUnwindSafe for DatePicker
impl !Send for DatePicker
impl !Sync for DatePicker
impl !UnwindSafe for DatePicker
impl Freeze for DatePicker
impl Unpin for DatePicker
impl UnsafeUnpin for DatePicker
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