FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FormatArgument

    enum · ferroui-protranslate-core · v0.5.0

    enum FormatArgument
    

    View source

    Members

    String

    String(String)
    

    Source

    Integer8

    Integer8(i8)
    

    Source

    Integer16

    Integer16(i16)
    

    Source

    Integer32

    Integer32(i32)
    

    Source

    Integer

    Integer(i64)
    

    Source

    Integer128

    Integer128(i128)
    

    Source

    Unsigned

    Unsigned(u64)
    

    Source

    Unsigned128

    Unsigned128(u128)
    

    Source

    Float

    Float(f32)
    

    Source

    Number

    Number(f64)
    

    Source

    Bool

    Bool(bool)
    

    Source

    Null

    Null
    

    Source

    Decimal

    Decimal(fixed_decimal::Decimal)
    

    Exact base-ten value, useful for money and numbers above 2^53.

    Source

    Custom

    Custom(std::rc::Rc<dyn LocalizedFormat>)
    

    Source

    DateTime

    DateTime(crate::LocalizedDateTime)
    

    Source

    NaiveDateTime

    NaiveDateTime(crate::LocalizedNaiveDateTime)
    

    Source

    decimal

    fn decimal(value: &str) -> Result<Self, TranslationError>
    

    Source

    format

    fn format(self: &Self, specifier: &str, culture: &Culture) -> Result<String, TranslationError>
    

    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
    • ErasedDestructor
    • IntoEither
    • From<LocalizedDateTime>
    • From<OffsetDateTime>
    • From<LocalizedNaiveDateTime>
    • From<PlainDateTime>
    • Clone
    • Debug
    • PartialEq
    • From<String>
    • From<&str>
    • From<f64>
    • From<f32>
    • From<bool>
    • From<i8>
    • From<i16>
    • From<i32>
    • From<i64>
    • From<i128>
    • From<u128>
    • From<u8>
    • From<u16>
    • From<u32>
    • From<u64>
    • From<isize>
    • From<usize>
    • From<Signed<UnsignedDecimal>>

    Availability

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