Trait oni_comb_parser_rs::prelude::Set

source ·
pub trait Set<T> {
    // Required method
    fn contains(&self, elem: &T) -> bool;

    // Provided method
    fn to_str(&self) -> &str { ... }
}
Expand description

Set relationship.

Required Methods§

source

fn contains(&self, elem: &T) -> bool

Whether a set contains an element or not.

Provided Methods§

source

fn to_str(&self) -> &str

Convert to text for display.

Implementations on Foreign Types§

source§

impl Set<char> for str

source§

fn contains(&self, elem: &char) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 0]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 1]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 2]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 3]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 4]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 5]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 6]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 7]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 8]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 9]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 10]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 11]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 12]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 13]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 14]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 15]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 16]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 17]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 18]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 19]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 20]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 21]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 22]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 23]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 24]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 25]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 26]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 27]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 28]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 29]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 30]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 31]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 32]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 33]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 34]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 35]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 36]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 37]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 38]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 39]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 40]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 41]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 42]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 43]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 44]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 45]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 46]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 47]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 48]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 49]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 50]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 51]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 52]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 53]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 54]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 55]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 56]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 57]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 58]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 59]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 60]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 61]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 62]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 63]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl Set<u8> for [u8; 64]

source§

fn contains(&self, elem: &u8) -> bool

source§

fn to_str(&self) -> &str

source§

impl<T> Set<T> for RangeFull

source§

fn contains(&self, _: &T) -> bool

source§

fn to_str(&self) -> &str

source§

impl<T: PartialEq> Set<T> for [T]

source§

fn contains(&self, elem: &T) -> bool

source§

impl<T: PartialOrd + Copy> Set<T> for Range<T>

source§

fn contains(&self, elem: &T) -> bool

source§

impl<T: PartialOrd + Copy> Set<T> for RangeFrom<T>

source§

fn contains(&self, elem: &T) -> bool

source§

impl<T: PartialOrd + Copy> Set<T> for RangeInclusive<T>

source§

fn contains(&self, elem: &T) -> bool

source§

impl<T: PartialOrd + Copy> Set<T> for RangeTo<T>

source§

fn contains(&self, elem: &T) -> bool

source§

impl<T: PartialOrd + Copy> Set<T> for RangeToInclusive<T>

source§

fn contains(&self, elem: &T) -> bool

Implementors§