map() — tailwindcss Function Reference
Architecture documentation for the map() function in lib.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD e81b1958_c796_00f9_8176_3fcad47cc256["map()"] d51c8934_ce3d_f9d0_a14e_c9711e79f4e3["lib.rs"] e81b1958_c796_00f9_8176_3fcad47cc256 -->|defined in| d51c8934_ce3d_f9d0_a14e_c9711e79f4e3 34c23244_a31f_39f9_2781_7c62bc12c51f["from_walkdir()"] 34c23244_a31f_39f9_2781_7c62bc12c51f -->|calls| e81b1958_c796_00f9_8176_3fcad47cc256 e004c9c9_cbb2_9858_ecdd_34dfa1d46d4a["fmt()"] e004c9c9_cbb2_9858_ecdd_34dfa1d46d4a -->|calls| e81b1958_c796_00f9_8176_3fcad47cc256 style e81b1958_c796_00f9_8176_3fcad47cc256 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/lib.rs lines 488–494
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Match<U> {
match self {
Match::None => Match::None,
Match::Ignore(t) => Match::Ignore(f(t)),
Match::Whitelist(t) => Match::Whitelist(f(t)),
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does map() do?
map() is a function in the tailwindcss codebase, defined in crates/ignore/src/lib.rs.
Where is map() defined?
map() is defined in crates/ignore/src/lib.rs at line 488.
What calls map()?
map() is called by 2 function(s): fmt, from_walkdir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free