FormatArg
enum · ferroui-base · v0.5.0
enum FormatArg<'a>
An argument of a composite format operation.
Members
Null
Null
A null reference: formats as empty text.
Str
Str(&'a str)
A string: ignores the format string of the item.
Bool
Bool(bool)
A boolean: True or False.
Char
Char(char)
A character.
I8
I8(i8)
An 8-bit signed integer (the width matters for X and B).
I16
I16(i16)
A 16-bit signed integer (the width matters for X and B).
I32
I32(i32)
A 32-bit signed integer (the width matters for X and B).
I64
I64(i64)
A 64-bit signed integer.
U64
U64(u64)
An unsigned integer of any width.
F64
F64(f64)
A double precision floating point number.
F32
F32(f32)
A single precision floating point number.
Decimal
Decimal(crate::utilities::Decimal)
A decimal (128-bit) number.
DateTime
DateTime(crate::utilities::DateTime)
A date and time: formatted with date and time format strings.
DateTimeOffset
DateTimeOffset(crate::utilities::DateTimeOffset)
A date and time with an offset from UTC.
TimeSpan
TimeSpan(crate::animation::SignedDuration)
A time interval: formatted with time span format strings.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.