Trait SvSubstringIndex

Source
pub trait SvSubstringIndex {
    // Required methods
    fn from_index(&self) -> i32;
    fn to_index(&self) -> i32;
}
Expand description

Allows taking range expressions in certain methods.

Required Methods§

Source

fn from_index(&self) -> i32

Source

fn to_index(&self) -> i32

Implementations on Foreign Types§

Source§

impl SvSubstringIndex for Range<i32>

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Source§

impl SvSubstringIndex for RangeFrom<i32>

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Source§

impl SvSubstringIndex for RangeFull

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Source§

impl SvSubstringIndex for RangeInclusive<i32>

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Source§

impl SvSubstringIndex for RangeTo<i32>

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Source§

impl SvSubstringIndex for RangeToInclusive<i32>

Source§

fn from_index(&self) -> i32

Source§

fn to_index(&self) -> i32

Implementors§