Home / Function/ new() — tailwindcss Function Reference

new() — tailwindcss Function Reference

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

Entity Profile

Relationship Graph

Source Code

crates/node/src/lib.rs lines 114–121

  pub fn new(opts: ScannerOptions) -> Self {
    Self {
      scanner: tailwindcss_oxide::Scanner::new(match opts.sources {
        Some(sources) => sources.into_iter().map(Into::into).collect(),
        None => vec![],
      }),
    }
  }

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free