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
  b6f5f41d_7476_bdb0_248f_09fb493e0833["fmt()"]
  6f593478_e4f6_5c15_8be5_fce0e1efa51f["throughput.rs"]
  b6f5f41d_7476_bdb0_248f_09fb493e0833 -->|defined in| 6f593478_e4f6_5c15_8be5_fce0e1efa51f
  316ccab0_9ed9_c23b_21a5_8aa4ea616aa7["format_byte_size()"]
  b6f5f41d_7476_bdb0_248f_09fb493e0833 -->|calls| 316ccab0_9ed9_c23b_21a5_8aa4ea616aa7
  style b6f5f41d_7476_bdb0_248f_09fb493e0833 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, defined in crates/oxide/src/throughput.rs.
Where is fmt() defined?
fmt() is defined in crates/oxide/src/throughput.rs at line 10.
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