Skip to main content

IntersectionObject

Trait IntersectionObject 

Source
pub trait IntersectionObject: Object + Sized {
    // Provided method
    fn intersection<Other: Object>(
        self,
        other: Other,
    ) -> Intersection<Self, Other> { ... }
}

Provided Methods§

Source

fn intersection<Other: Object>(self, other: Other) -> Intersection<Self, Other>

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.

Implementors§

Source§

impl<T> IntersectionObject for T
where T: Object,