Home / Function/ fmt() — tailwindcss Function Reference

fmt() — tailwindcss Function Reference

Architecture documentation for the fmt() function in throughput.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4cb04b92_853a_9e1e_1bc9_d7e6a12bf2c3["fmt()"]
  576b6616_b02e_9d34_55e6_c49e1e58e735["format_byte_size()"]
  4cb04b92_853a_9e1e_1bc9_d7e6a12bf2c3 -->|calls| 576b6616_b02e_9d34_55e6_c49e1e58e735
  style 4cb04b92_853a_9e1e_1bc9_d7e6a12bf2c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/throughput.rs lines 10–17

    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        write!(
            f,
            "{}/s over {:.2}s",
            format_byte_size(self.rate),
            self.elapsed.as_secs_f64()
        )
    }

Domain

Subdomains

Frequently Asked Questions

What does fmt() do?
fmt() is a function in the tailwindcss codebase.
What does fmt() call?
fmt() calls 1 function(s): format_byte_size.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free