get_bytes_attrs() — tailwindcss Function Reference
Architecture documentation for the get_bytes_attrs() function in lib.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD d6a2ba66_f71f_0909_a1ac_b772f5abfeb9["get_bytes_attrs()"] b8828b41_ff6f_bd1d_8645_341d50421c63["lib.rs"] d6a2ba66_f71f_0909_a1ac_b772f5abfeb9 -->|defined in| b8828b41_ff6f_bd1d_8645_341d50421c63 35339c59_c350_38a5_aa44_e6d224d7e0e0["classify_bytes_derive()"] 35339c59_c350_38a5_aa44_e6d224d7e0e0 -->|calls| d6a2ba66_f71f_0909_a1ac_b772f5abfeb9 e29a6284_e7d8_a328_5843_e579dca26acc["parse_bytes_attr()"] d6a2ba66_f71f_0909_a1ac_b772f5abfeb9 -->|calls| e29a6284_e7d8_a328_5843_e579dca26acc style d6a2ba66_f71f_0909_a1ac_b772f5abfeb9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/classification-macros/src/lib.rs lines 130–141
fn get_bytes_attrs(attrs: &[Attribute]) -> Vec<u8> {
let mut assigned = Vec::new();
for attr in attrs {
if attr.path().is_ident("bytes") {
match parse_bytes_attr(attr) {
Ok(list) => assigned.extend(list),
Err(e) => panic!("Error parsing #[bytes(...)]: {}", e),
}
}
}
assigned
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does get_bytes_attrs() do?
get_bytes_attrs() is a function in the tailwindcss codebase, defined in crates/classification-macros/src/lib.rs.
Where is get_bytes_attrs() defined?
get_bytes_attrs() is defined in crates/classification-macros/src/lib.rs at line 130.
What does get_bytes_attrs() call?
get_bytes_attrs() calls 1 function(s): parse_bytes_attr.
What calls get_bytes_attrs()?
get_bytes_attrs() is called by 1 function(s): classify_bytes_derive.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free