Trait IntoRange

Source
pub trait IntoRange: AsRange {
    // Required method
    fn into_range(self) -> AnyRange<Self::Item>;
}

Required Methods§

Source

fn into_range(self) -> AnyRange<Self::Item>

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 IntoRange for char

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for f32

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for f64

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for i8

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for i16

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for i32

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for i64

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for u8

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for u16

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for u32

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for u64

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl IntoRange for usize

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl<T: Measure + PartialEnum> IntoRange for Range<T>

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl<T: Measure + PartialEnum> IntoRange for RangeFrom<T>

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl<T: Measure + PartialEnum> IntoRange for RangeInclusive<T>

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl<T: Measure + PartialEnum> IntoRange for RangeTo<T>

Source§

fn into_range(self) -> AnyRange<Self::Item>

Source§

impl<T: Measure + PartialEnum> IntoRange for RangeToInclusive<T>

Source§

fn into_range(self) -> AnyRange<Self::Item>

Implementors§