Home / Function/ get_bytes_attrs() — tailwindcss Function Reference

get_bytes_attrs() — tailwindcss Function Reference

Architecture documentation for the get_bytes_attrs() function in lib.rs from the tailwindcss codebase.

Function rust RustCore FileScanner calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d01c9347_8bb9_4df2_04bc_32dbea7ec2a7["get_bytes_attrs()"]
  04528f80_f543_1a01_57fe_cf74526d053a["classify_bytes_derive()"]
  04528f80_f543_1a01_57fe_cf74526d053a -->|calls| d01c9347_8bb9_4df2_04bc_32dbea7ec2a7
  ad5dfa41_098f_a666_b41f_564274ccb77d["parse_bytes_attr()"]
  d01c9347_8bb9_4df2_04bc_32dbea7ec2a7 -->|calls| ad5dfa41_098f_a666_b41f_564274ccb77d
  style d01c9347_8bb9_4df2_04bc_32dbea7ec2a7 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

Frequently Asked Questions

What does get_bytes_attrs() do?
get_bytes_attrs() is a function in the tailwindcss codebase.
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