(capacity: usize)
| 305 | /// Creates a sequence with pre-allocated capacity. |
| 306 | #[inline] |
| 307 | pub fn with_capacity(capacity: usize) -> Self { |
| 308 | Self { |
| 309 | elements: Vec::with_capacity(capacity), |
| 310 | after_refs: Vec::with_capacity(capacity), |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | /// Returns the number of elements. |
| 315 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected