pub trait MutabilityExt {
// Required method
fn is_permissive_as(self, other: Self) -> bool;
}
Required Methods§
Sourcefn is_permissive_as(self, other: Self) -> bool
fn is_permissive_as(self, other: Self) -> bool
Returns true if self
is equally or more permissive than other
,
i.e. where Not
is more permissive than Mut
.
This corresponds to the relation $\omega_1 \lesssim \omega_2$ in the Flowistry paper.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.