regex_syntax::hir::interval

Trait Bound

Source
pub trait Bound:
    Copy
    + Clone
    + Debug
    + Eq
    + PartialEq
    + PartialOrd
    + Ord {
    // Required methods
    fn min_value() -> Self;
    fn max_value() -> Self;
    fn as_u32(self) -> u32;
    fn increment(self) -> Self;
    fn decrement(self) -> Self;
}

Required Methods§

Source

fn min_value() -> Self

Source

fn max_value() -> Self

Source

fn as_u32(self) -> u32

Source

fn increment(self) -> Self

Source

fn decrement(self) -> Self

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.

Implementations on Foreign Types§

Source§

impl Bound for char

Source§

fn min_value() -> Self

Source§

fn max_value() -> Self

Source§

fn as_u32(self) -> u32

Source§

fn increment(self) -> Self

Source§

fn decrement(self) -> Self

Source§

impl Bound for u8

Source§

fn min_value() -> Self

Source§

fn max_value() -> Self

Source§

fn as_u32(self) -> u32

Source§

fn increment(self) -> Self

Source§

fn decrement(self) -> Self

Implementors§