new() — tailwindcss Function Reference
Architecture documentation for the new() function in cursor.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD c52616a6_c876_2125_b7f3_d667940a6a11["new()"] 3d889371_52ae_87e1_810f_7e71098819d9["cursor.rs"] c52616a6_c876_2125_b7f3_d667940a6a11 -->|defined in| 3d889371_52ae_87e1_810f_7e71098819d9 b545b64e_05a4_16aa_f6bd_dc5552bae494["move_to()"] c52616a6_c876_2125_b7f3_d667940a6a11 -->|calls| b545b64e_05a4_16aa_f6bd_dc5552bae494 style c52616a6_c876_2125_b7f3_d667940a6a11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/cursor.rs lines 30–42
pub fn new(input: &'a [u8]) -> Self {
let mut cursor = Self {
input,
pos: 0,
at_start: true,
at_end: false,
prev: 0x00,
curr: 0x00,
next: 0x00,
};
cursor.move_to(0);
cursor
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does new() do?
new() is a function in the tailwindcss codebase, defined in crates/oxide/src/cursor.rs.
Where is new() defined?
new() is defined in crates/oxide/src/cursor.rs at line 30.
What does new() call?
new() calls 1 function(s): move_to.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free