pub trait PermTarget {
type Value<'a>
where Self: 'a;
type PermPayload: ?Sized;
// Provided method
fn is_disjoint(
&self,
_self_val: Self::Value<'_>,
other: &Self,
_other_val: Self::Value<'_>,
) -> bool { ... }
}Required Associated Types§
type Value<'a> where Self: 'a
type PermPayload: ?Sized
Provided Methods§
Sourcefn is_disjoint(
&self,
_self_val: Self::Value<'_>,
other: &Self,
_other_val: Self::Value<'_>,
) -> bool
fn is_disjoint( &self, _self_val: Self::Value<'_>, other: &Self, _other_val: Self::Value<'_>, ) -> bool
logic(open, inline)
self != otherDyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T: ?Sized> PermTarget for *const T
impl<T: ?Sized> PermTarget for *const T
Source§fn is_disjoint(&self, self_val: &T, other: &Self, other_val: &T) -> bool
fn is_disjoint(&self, self_val: &T, other: &Self, other_val: &T) -> bool
logic(open, inline)
size_of_val_logic(*self_val) != 0 && size_of_val_logic(*other_val) != 0 ==> self.addr_logic() != other.addr_logic()