Return a string containing the documentation comment for this type.
(&self)
| 29 | |
| 30 | /// Return a string containing the documentation comment for this type. |
| 31 | pub fn doc(&self) -> String { |
| 32 | match *self { |
| 33 | ValueType::Lane(l) => l.doc(), |
| 34 | ValueType::Vector(ref v) => v.doc(), |
| 35 | ValueType::DynamicVector(ref v) => v.doc(), |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /// Return the number of bits in a lane. |
| 40 | pub fn lane_bits(&self) -> u64 { |
no test coverage detected