Trait digits::Reverse
[−]
[src]
pub trait Reverse { fn reverse(&mut self); }
Reverse mutates self into a reversed self.
Required Methods
fn reverse(&mut self)
Example
use digits::{BaseCustom,Digits,Reverse}; let base10 = BaseCustom::<char>::new("0123456789".chars().collect()); let mut nine = Digits::new(base10, "0009".to_string()); nine.reverse(); assert_eq!(nine.to_s(), "9000");
Implementors
impl Reverse for Digits