ReferenceOp

Trait ReferenceOp 

Source
pub trait ReferenceOp<T: Any> {
    // Required methods
    fn intersect<U: Reference>(self, other: U) -> OpReference<T, U>;
    fn refcat<U: Reference>(self, other: U) -> OpReference<T, U>;
}
Expand description

Operations on references.

Required Methods§

Source

fn intersect<U: Reference>(self, other: U) -> OpReference<T, U>

intersection of references

Source

fn refcat<U: Reference>(self, other: U) -> OpReference<T, U>

concatenation of references

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: Reference> ReferenceOp<T> for T