FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FormatArg

    enum · ferroui-base · v0.5.0

    enum FormatArg<'a>
    

    An argument of a composite format operation.

    View source

    Members

    Null

    Null
    

    A null reference: formats as empty text.

    Source

    Str

    Str(&'a str)
    

    A string: ignores the format string of the item.

    Source

    Bool

    Bool(bool)
    

    A boolean: True or False.

    Source

    Char

    Char(char)
    

    A character.

    Source

    I8

    I8(i8)
    

    An 8-bit signed integer (the width matters for X and B).

    Source

    I16

    I16(i16)
    

    A 16-bit signed integer (the width matters for X and B).

    Source

    I32

    I32(i32)
    

    A 32-bit signed integer (the width matters for X and B).

    Source

    I64

    I64(i64)
    

    A 64-bit signed integer.

    Source

    U64

    U64(u64)
    

    An unsigned integer of any width.

    Source

    F64

    F64(f64)
    

    A double precision floating point number.

    Source

    F32

    F32(f32)
    

    A single precision floating point number.

    Source

    Decimal

    Decimal(crate::utilities::Decimal)
    

    A decimal (128-bit) number.

    Source

    DateTime

    DateTime(crate::utilities::DateTime)
    

    A date and time: formatted with date and time format strings.

    Source

    DateTimeOffset

    DateTimeOffset(crate::utilities::DateTimeOffset)
    

    A date and time with an offset from UTC.

    Source

    TimeSpan

    TimeSpan(crate::animation::SignedDuration)
    

    A time interval: formatted with time span format strings.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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