Set the `readonly` flag.
(&mut self)
| 352 | |
| 353 | /// Set the `readonly` flag. |
| 354 | pub fn set_readonly(&mut self) { |
| 355 | *self = self.with_readonly(); |
| 356 | } |
| 357 | |
| 358 | /// Set the `readonly` flag, returning new flags. |
| 359 | pub const fn with_readonly(mut self) -> Self { |
nothing calls this directly
no test coverage detected