(&self, size: ElementCount)
| 145 | |
| 146 | #[inline] |
| 147 | pub fn new_data(&self, size: ElementCount) -> Orphan<'a, Data, T> { |
| 148 | self.try_new_data(size) |
| 149 | .expect("failed to allocate data blob") |
| 150 | } |
| 151 | |
| 152 | #[inline] |
| 153 | pub fn try_new_text(&self, size: text::ByteCount) -> Result<Orphan<'a, Text, T>> { |
nothing calls this directly
no test coverage detected