Create a result with content.
(content: Vec<u8>, vertices: usize)
| 141 | |
| 142 | /// Create a result with content. |
| 143 | pub fn with_content(content: Vec<u8>, vertices: usize) -> Self { |
| 144 | Self { |
| 145 | content, |
| 146 | vertices_processed: vertices, |
| 147 | has_conflicts: false, |
| 148 | conflict_count: 0, |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | /// Mark as having conflicts. |
| 153 | pub fn with_conflicts(mut self, count: usize) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected