AsBound

Trait AsBound 

Source
pub trait AsBound {
    type Item;

    // Required method
    fn bound(&self) -> Bound<&Self::Item>;
}
Expand description

Types that can be interpreted as range bounds.

Required Associated Types§

Required Methods§

Source

fn bound(&self) -> Bound<&Self::Item>

Implementations on Foreign Types§

Source§

impl AsBound for u8

Source§

type Item = u8

Source§

fn bound(&self) -> Bound<&u8>

Source§

impl<'a, T> AsBound for Bound<&'a T>

Source§

type Item = T

Source§

fn bound(&self) -> Bound<&T>

Implementors§