Create a set of flags representing an access from a "trusted" address, meaning it's known to be aligned and non-trapping.
()
| 177 | /// Create a set of flags representing an access from a "trusted" address, meaning it's |
| 178 | /// known to be aligned and non-trapping. |
| 179 | pub const fn trusted() -> Self { |
| 180 | Self::new().with_notrap().with_aligned() |
| 181 | } |
| 182 | |
| 183 | /// Reads the alias region that this memory operation works with. |
| 184 | pub fn alias_region(self) -> Option<AliasRegion> { |
nothing calls this directly
no test coverage detected