Container

Trait Container 

Source
pub trait Container {
    type Value: ?Sized;

    // Required method
    fn is_disjoint(
        &self,
        self_val: &Self::Value,
        other: &Self,
        other_val: &Self::Value,
    ) -> bool;
}

Required Associated Types§

Required Methods§

Source

fn is_disjoint( &self, self_val: &Self::Value, other: &Self, other_val: &Self::Value, ) -> bool

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.

Implementations on Foreign Types§

Source§

impl<T: ?Sized> Container for *const T

Source§

fn is_disjoint(&self, self_val: &T, other: &Self, other_val: &T) -> bool

(open, inline)

pearlite! {
    size_of_val_logic(*self_val) != 0 && size_of_val_logic(*other_val) != 0 ==>
    self.addr_logic() != other.addr_logic()
}
Source§

type Value = T

Implementors§