RangeTo

Trait RangeTo 

Source
pub trait RangeTo: Sized {
    // Required method
    fn until(self, rhs: Self) -> Range<Self>;
}

Required Methods§

Source

fn until(self, rhs: Self) -> Range<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 RangeTo for &i8

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &i16

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &i32

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &i64

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &i128

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &u8

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &u16

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &u32

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &u64

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for &u128

Source§

fn until(self, rhs: Self) -> Range<Self>

Source§

impl RangeTo for i8

Source§

fn until(self, rhs: Self) -> Range<i8>

Source§

impl RangeTo for i16

Source§

fn until(self, rhs: Self) -> Range<i16>

Source§

impl RangeTo for i32

Source§

fn until(self, rhs: Self) -> Range<i32>

Source§

impl RangeTo for i64

Source§

fn until(self, rhs: Self) -> Range<i64>

Source§

impl RangeTo for i128

Source§

fn until(self, rhs: Self) -> Range<i128>

Source§

impl RangeTo for u8

Source§

fn until(self, rhs: Self) -> Range<u8>

Source§

impl RangeTo for u16

Source§

fn until(self, rhs: Self) -> Range<u16>

Source§

impl RangeTo for u32

Source§

fn until(self, rhs: Self) -> Range<u32>

Source§

impl RangeTo for u64

Source§

fn until(self, rhs: Self) -> Range<u64>

Source§

impl RangeTo for u128

Source§

fn until(self, rhs: Self) -> Range<u128>

Implementors§