WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
format_specs Struct Reference

#include <fmt/base.h>

Inheritance diagram for format_specs:
basic_specs detail::dynamic_format_specs< Char > detail::dynamic_format_specs< Char >

Public Member Functions

constexpr format_specs ()
Public Member Functions inherited from basic_specs
constexpr auto type () const -> presentation_type
FMT_CONSTEXPR void set_type (presentation_type t)
constexpr auto align () const -> align
FMT_CONSTEXPR void set_align (fmt::align a)
constexpr auto dynamic_width () const -> arg_id_kind
FMT_CONSTEXPR void set_dynamic_width (arg_id_kind w)
FMT_CONSTEXPR auto dynamic_precision () const -> arg_id_kind
FMT_CONSTEXPR void set_dynamic_precision (arg_id_kind p)
constexpr auto dynamic () const -> bool
constexpr auto sign () const -> sign
FMT_CONSTEXPR void set_sign (fmt::sign s)
constexpr auto upper () const -> bool
FMT_CONSTEXPR void set_upper ()
constexpr auto alt () const -> bool
FMT_CONSTEXPR void set_alt ()
FMT_CONSTEXPR void clear_alt ()
constexpr auto localized () const -> bool
FMT_CONSTEXPR void set_localized ()
constexpr auto fill_size () const -> size_t
template<typename Char, FMT_ENABLE_IF(std::is_same< Char, char >::value)>
constexpr auto fill () const -> const Char *
template<typename Char, FMT_ENABLE_IF(!std::is_same< Char, char >::value)>
constexpr auto fill () const -> const Char *
template<typename Char>
constexpr auto fill_unit () const -> Char
FMT_CONSTEXPR void set_fill (char c)
template<typename Char>
FMT_CONSTEXPR void set_fill (basic_string_view< Char > s)
FMT_CONSTEXPR void copy_fill_from (const basic_specs &specs)

Public Attributes

int width
int precision

Constructor & Destructor Documentation

◆ format_specs()

format_specs::format_specs ( )
inlineconstexpr

Member Data Documentation

◆ precision

int format_specs::precision

◆ width

int format_specs::width

The documentation for this struct was generated from the following file: