microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
microfmt::formatter< i2c_msg_view > Struct Reference

#include <i2c.hpp>

Public Member Functions

constexpr void parse (format_parse_context &ctx) noexcept
 
void format (const i2c_msg_view &msg, const sink &out) const noexcept
 

Static Public Member Functions

static constexpr microfmt::string_view status_name (i2c_status status) noexcept
 

Public Attributes

bool compact {false}
 
bool uppercase_hex {true}
 

Member Function Documentation

◆ format()

void microfmt::formatter< i2c_msg_view >::format ( const i2c_msg_view &  msg,
const sink &  out 
) const
inlinenoexcept

◆ parse()

constexpr void microfmt::formatter< i2c_msg_view >::parse ( format_parse_context &  ctx)
inlineconstexprnoexcept

◆ status_name()

static constexpr microfmt::string_view microfmt::formatter< i2c_msg_view >::status_name ( i2c_status  status)
inlinestaticconstexprnoexcept

Member Data Documentation

◆ compact

bool microfmt::formatter< i2c_msg_view >::compact {false}

◆ uppercase_hex

bool microfmt::formatter< i2c_msg_view >::uppercase_hex {true}

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