MaterialDateCell
struct · ferroui-themes-material · v0.5.0
struct MaterialDateCell
A native Button with a selection-item automation contract. The 48dp hit cell is deliberately larger than its 40dp day surface (72x36dp for a year).
Members
TYPEto_refis_selected_propertyis_today_propertyis_in_range_propertyis_year_propertyconstructnewis_selectedset_is_selectedis_todayset_is_todayis_in_rangeset_is_in_rangeis_yearset_is_yeardateyear
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialDateCell>
Returns a strong reference to this object.
is_selected_property
fn is_selected_property() -> &'static StyledProperty<bool>
is_today_property
fn is_today_property() -> &'static StyledProperty<bool>
is_in_range_property
fn is_in_range_property() -> &'static StyledProperty<bool>
is_year_property
fn is_year_property() -> &'static StyledProperty<bool>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
is_selected
fn is_selected(self: &Self) -> bool
set_is_selected
fn set_is_selected(self: &Self, v: bool)
is_today
fn is_today(self: &Self) -> bool
set_is_today
fn set_is_today(self: &Self, v: bool)
is_in_range
fn is_in_range(self: &Self) -> bool
set_is_in_range
fn set_is_in_range(self: &Self, v: bool)
is_year
fn is_year(self: &Self) -> bool
set_is_year
fn set_is_year(self: &Self, v: bool)
date
fn date(self: &Self) -> Option<DateTime>
year
fn year(self: &Self) -> Option<i32>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>TemplatedControlImplExtContentControlImplExtControlImplExtButtonImplExtDerefUpcast<T>Upcast<MaterialDateCell>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplInteractiveImplLayoutableImplContentControlImplTemplatedControlImplFerroObjectImplInputElementImplButtonImplControlImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.