FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialDateInputFormat

    struct · ferroui-themes-material · v0.5.0

    struct MaterialDateInputFormat
    

    Native date input always uses two-digit month/day and four-digit year in the culture's order. Eight underlying digits are displayed with two delimiters.

    View source

    Members

    for_culture

    fn for_culture(info: &DateTimeFormatInfo) -> Self
    

    Source

    pattern

    fn pattern(self: &Self) -> String
    

    Source

    digits

    fn digits(self: &Self, date: DateTime) -> String
    

    Source

    format_digits

    fn format_digits(self: &Self, digits: &str) -> String
    

    Source

    extract_digits

    fn extract_digits(self: &Self, text: &str) -> Option<String>
    

    Source

    parse_digits

    fn parse_digits(self: &Self, digits: &str) -> Option<DateTime>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Equivalent<K>
    • CastableFrom<ST, Uninit, Uninit>
    • CastableFrom<ST, Initialized, Initialized>
    • Read<Exclusive, BecauseExclusive>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.