Set the `readonly` flag, returning new flags.
(mut self)
| 357 | |
| 358 | /// Set the `readonly` flag, returning new flags. |
| 359 | pub const fn with_readonly(mut self) -> Self { |
| 360 | self.flags = self.flags.with_readonly(); |
| 361 | self |
| 362 | } |
| 363 | /// Get the trap code to report if this memory access traps. |
| 364 | /// |
| 365 | /// A `None` trap code indicates that this memory access does not trap. |
no outgoing calls
no test coverage detected