Create an empty anchor.
()
| 272 | impl GraphAnchor { |
| 273 | /// Create an empty anchor. |
| 274 | pub fn empty() -> Self { |
| 275 | Self { |
| 276 | trunk: None, |
| 277 | branches: Vec::new(), |
| 278 | leaves: Vec::new(), |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | /// Returns true if this anchor has any references. |
| 283 | pub fn is_populated(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected