TimePickerAutomationPeer
struct · ferroui-controls · v0.5.0
struct TimePickerAutomationPeer
An automation peer which represents a TimePicker.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TimePickerAutomationPeer>
Returns a strong reference to this object.
construct
fn construct(owner: &TimePicker) -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new(owner: &TimePicker) -> Ref<Self>
Initializes a new peer of owner.
is_read_only
fn is_read_only(self: &Self) -> bool
Gets a value that indicates whether the value is read-only (the value provider contract).
owner
fn owner(self: &Self) -> Ref<TimePicker>
Gets the owning time picker.
value
fn value(self: &Self) -> Option<String>
Gets the selected time as text (the value provider contract).
set_value
fn set_value(self: &Self, value: Option<&str>) -> Result<(), ElementNotEnabledError>
Sets the selected time from text, if the text is a time (the value provider contract).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<TimePickerAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.