Trait Stepable

Source
pub trait Stepable {
    // Required method
    fn sterp(&mut self, to: Self, step: Self) -> bool;
}

Required Methods§

Source

fn sterp(&mut self, to: Self, step: Self) -> bool

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 Stepable for f32

Source§

fn sterp(&mut self, to: f32, step: f32) -> bool

Source§

impl Stepable for f64

Source§

fn sterp(&mut self, to: f64, step: f64) -> bool

Source§

impl Stepable for i8

Source§

fn sterp(&mut self, to: i8, step: i8) -> bool

Source§

impl Stepable for i16

Source§

fn sterp(&mut self, to: i16, step: i16) -> bool

Source§

impl Stepable for i32

Source§

fn sterp(&mut self, to: i32, step: i32) -> bool

Source§

impl Stepable for i64

Source§

fn sterp(&mut self, to: i64, step: i64) -> bool

Source§

impl Stepable for i128

Source§

fn sterp(&mut self, to: i128, step: i128) -> bool

Source§

impl Stepable for isize

Source§

fn sterp(&mut self, to: isize, step: isize) -> bool

Implementors§