Trait Intersect

Source
pub trait Intersect {
    // Required method
    fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
       where Self: Sized + 'a;
}
Expand description

Intersect zero or more &Self to create Option<Self>.

Required Methods§

Source

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Intersect.

Implementations on Foreign Types§

Source§

impl Intersect for u8

Source§

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Source§

impl Intersect for u16

Source§

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Source§

impl Intersect for u32

Source§

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Source§

impl Intersect for u64

Source§

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Source§

impl Intersect for usize

Source§

fn intersect<'a>(iter: impl Iterator<Item = &'a Self>) -> Option<Self>
where Self: Sized + 'a,

Implementors§